background image

 
Nvision.com, Inc. 

Migrating from a FreeBSD Server to a FreeBSD v2 Server 

i.

 

Press Enter to create the directory. 

j.

 

Press Enter or type y if the information is correct. 

k.

 

Select a location for the transfer logs. 

l.

 

Press Enter or type y if the information is correct. 

m.

 

Select a location for the error logs. 

n.

 

Press Enter or type y if the information is correct. 

o.

 

Select an option for CGI execution for this virtual host. 

p.

 

Press Enter or type y if the information is correct. 

q.

 

Review the virtual host entry, and Press Enter or type y if the information is correct. 

Virtual Host (Subhost) information submitted in this step automatically updates the 
/www/conf/httpd.conf file. 

3.

 

Make any additional changes to the httpd.conf file that you may have made on your 
FreeBSD Server account. Do 

not

 just copy the httpd.conf file. 

4.

 

Copy the contents of each hosts 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/www/vhosts/www.test1.com/htdocs/ 
% cp –rp * /home/user/www/test1.com/ 

6.

 

To copy the cgi-bin directory, go to the /.migrate/accountname/ 
www/vhosts/www.test1.com/cgi-bin/. Type the following to copy the contents: 

% cd /.migrate/accountname/www/vhosts/www.test1.com/cgi-bin/ 
% cp –rp * /home/user/www/cgi-bin/ 

The log files can be copied over to the user’s home directory if desired. 

7.

 

If you are using FrontPage Extensions, install these now by typing: 

% cd 
% vinstall frontpage 

Be sure to install the extensions for each Virtual Host who uses FrontPage. 

8.

 

If you are using PHP you will need to it now by typing: 

% cd 
% vinstall php4 

Be sure to follow the instructions thoroughly and choosing the needed components to 
install.  

9.

 

If you are using any other programs such as mod_rewrite or other apache modules, you 
will need to install these at this time as well. 

Creating Users 

 

2

Summary of Contents for FreeBSD Server

Page 1: ...Nvision com Inc FreeBSD Server to FreeBSD v2 Server Self Migration Process for FreeBSD v2 Server Administrators First Edition September 2003...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: