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

Содержание FreeBSD Server

Страница 1: ...Nvision com Inc FreeBSD Server to FreeBSD v2 Server Self Migration Process for FreeBSD v2 Server Administrators First Edition September 2003...

Страница 2: ...e Shadow Process 1 Creating Users 1 Adding Virtual Hosts and Other Apache Changes 1 Migrating Sendmail and Mail programs 3 Vinstalling Additional Add ons 5 Perl Modules 5 Migrating Databases 6 Moving...

Страница 3: ...ybe even days depending on your knowledge of the FreeBSD Server and FreeBSD v2 Servers and the amount of changes you have made to a standard FreeBSD Server server Starting the Shadow Process The Shado...

Страница 4: ...ciate each Virtual Host with a user and put the Virtual Host site under that user s home directory For example if you have a Virtual Host for test2 com and bob owns that site you would want to add the...

Страница 5: ...sts htdocs directory and cgi bin directory 5 To copy the htdocs directory go to the migrate accountname www vhosts www test1 com htdocs Type the following to copy the contents cd migrate accountname w...

Страница 6: ...d this run the migratesm script a second time using the following sysntax migratesm intodo This will interpret the input ALIASWS_TODO lines as follows Lines beginning with a pound sign are ignored Lin...

Страница 7: ...e lists will be copied to the FreeBSD v2 Server default location of usr local majordomo lists 8 When you have finished check the following files for errors etc mail aliases etc mail virtmaps etc mail...

Страница 8: ...eeBSD 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 b...

Страница 9: ...ysqladmin u root password your new password here In addition if you have other users you will need to create the extra users at this point with their proper permissions 3 Create the databases from the...

Страница 10: ...hose lines near the beginning run the following command to remove the encryption openssl rsa in ssl pk out ssl pk 4 Edit your httpd conf file located in the usr local apache conf directory to look for...

Страница 11: ...servers have cached their DNS before you have support change your DNS back and your TTL it will take those DNS servers 24 hours to update you DNS information again To avoid all this you can have suppo...

Страница 12: ...e to the root directory of the FreeBSD v2 Server Do this for each database that you have 12 SSH into your FreeBSD v2 Server and type the following to create the database structure and enter the data i...

Страница 13: ...cate a reference to another part of the same document The grey portion of the cross reference is hot linked to the appropriate section of the document followed by a page number also hot linked to the...

Страница 14: ...ues you might not discover by yourself The Tip List special element is used when multiple tips are used Note Used to highlight certain information for the reader Generally the Note element provides ad...

Отзывы: