Nvidia FreeBSD Server to FreeBSD v2 Server User Manual

Page 5

Advertising
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

Advertising