Related Manuals for NVision.com FreeBSD Server to FreeBSD v2 Server
No related manuals
Summary of Contents for NVision.com FreeBSD Server to FreeBSD v2 Server
Page 1
Nvision.com, Inc. FreeBSD Server to FreeBSD v2 Server Self Migration Process for FreeBSD v2 Server Administrators First Edition September, 2003...
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 Your Custom Digital Certificate ...7 Migrating Time-Sensitive Material...8 Document Conventions ...10 Table of Contents Migrating from a FreeBSD Server to a FreeBSD v2 Server...
If you have made significant changes to your FreeBSD Server, this document may not be helpful. The FreeBSD Server to FreeBSD v2 Server migration process takes several hours, maybe 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.
An example follows: % pw usermod joe –s /bin/csh 2. To check the amount of disk space being used by a specific user on your server, type: % quota username where “username”...
Page 5
/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.
─ If the copy succeeds, migratesm changes the "N" in the middle field to "Y" in the updated ALIASES_TODO. ─ If the copy fails because the file does not exist in the FreeBSD Server directory structure, migratesm changes the "N" in the middle field to "N*".
Page 7
For additional information on how to use the migratesm script, type the following at the shell command line as a non-root user: % perldoc /.migrate/bin/migratesm Migrating Sendmail and Mail Programs Migrating from a FreeBSD Server to a FreeBSD v2 Server...
Nvision.com, Inc. 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.
4. The last thing to do is do a mysqldump of each database on the FreeBSD Serverand a run the dump file on the FreeBSD v2 Server to add the contents of the database. However, you will not want to create the dump file or import the information from the MySQL database from the FreeBSD Serveruntil you are ready to make your FreeBSD v2 Server live.
Server server. The certificate should be in a file named ssl.cert, and the key should be in the ssl.pk file. If you use FTP, be sure to copy the files to the new server as ASCII files. You will need to copy them to the /usr/local/apache/conf/ directory on the FreeBSD v2 Server.
FreeBSD Server server. 5. Next, you will need to append any mail on the new FreeBSD v2 Server to mail from the FreeBSD Serverby typing the following for each user on the server, except root.
Page 12
11. Copy the dump file to the FreeBSD v2 Server by typing the following: % scp dumpfilename root@domainname:/root/ This will copy the file to the /root directory of the FreeBSD v2 Server. Do this for each database that you have.
Document Conventions The conventions used in this document are designed to be completely predictable and are used for the following specific purposes. Conventions List Typeface Italic Bold Blue Underline Cross-Reference Operating System Text Program Code Screen Element Document Conventions Usage Used to indicate the following: •...
Page 14
Special Elements These elements provide a variety of information ranging from warnings that the reader should not neglect to supplementary information and tips that will simply enhance their reading experience. Tip Used to point out helpful ideas, some not-so-obvious features, quick or alternate ways to get a particular job done, and techniques you might not discover by yourself.