Vinstalling additional add-ons, Perl modules – Nvidia FreeBSD Server to FreeBSD v2 Server User Manual

Page 8

Advertising
background image


Nvision.com, Inc.

Migrating from a FreeBSD Server to a FreeBSD v2 Server

Vinstalling Additional Add-ons

Since your server is a new server, you will need to vinstall any additional programs that you
may have installed on your FreeBSD Server account. There may not be a vinstall for some of
the programs that you had installed in the FreeBSD Server account with vinstalls. If this is the
case, you can install the program using the FreeBSD Ports collection. For information on how
to install programs using the Ports collection, see the Reseller Handbook, page 190.

Perl Modules

If you are using Perl and have installed modules that you use, you must install these modules
on your FreeBSD v2 Server as well. FreeBSD v2 Server no longer uses vcpan as the default
method of installing Perl modules. Instead, FreeBSD v2 Server now uses the default Perl
method of installing modules. To install a module using CPAN:

1. Type the following at the shell prompt:

% perl -MCPAN -e shell

The first time you run CPAN, you will be prompted for your preferences regarding
where to download your modules and other settings. For most settings, accept the
default.

2. When it comes time to select your mirror preferences, just select 4 or 5 mirrors that look

good to you (you don't have to know anything about them or where they are). If you are
really worried about selecting the right mirrors, choose the first 5 (1 2 3 4 5) .
Once you have configured your CPAN settings, you'll likely never have to do it again.

3. Once at the CPAN command line (cpan> ), to install a module type:

% cpan> install <Module_name>

This will get and install the module. To save space on your server, type the following at
the CPAN command line:

% cpan> clean <Module_name>

This will delete all unnecessary files that where used during installation.

Vinstall Additional Add-ons

5

Advertising