Apple Mac OS X Server Migration For Version 10.3 or Later Instrukcja Użytkownika Strona 21

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 105
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 20
Chapter 2 Migrating From Mac OS X Server Version 10.2 21
Step 8: Restore saved data
Copy the files you want to reuse from their backup location.
Web Configuration Data
To migrate the web configuration:
1 Save the file /etc/httpd/servermgr_web_httpd_config.plist and the directory /etc/
httpd/sites_disabled/ and all its contents from the version 10.3 server.
2 Replace the /etc/httpd/ directory and its files on the version 10.3 server with the /etc/
httpd/ directory and its contents that you saved on the former server. Also restore the
saved /etc/webperfcache/webperfcache.conf.
3 Copy the file /etc/httpd/servermgr_web_httpd_config.plist and the directory /etc/
httpd/sites_disabled/ and all its contents into the restored /etc/httpd/ directory.
4 Open Server Admin and make sure that web service isn’t running.
5 Open the Terminal application. As the root user, type the 49_webconfigmigrator
command:
sudo /System/Library/ServerSetup/MigrationExtras/49_webconfigmigrator
A log of the changes made to the files is created in /Library/Logs/Migration/
webconfigmigrator.log. Original versions of changed files in /etc/httpd are renamed to
httpd.conf.obsolete, httpd_macosxserver.conf.obsolete, and
mime_macosxserver.types.obsolete. A new httpd.conf file is created.
6 In Server Admin, start web service.
Web Content
Copy saved web content to:
/Library/Webserver/Documents/
/Library/Webserver/CGI-Executables
MySQL Data
Restore saved MySQL 3.23 databases in /var/mysql.
There are a few commands you can use on an old database to remove dependency on
the ISAM table format, which has been deprecated:
Run mysql_fix_privilege_tables to enable new security privilege features.
Run either mysql_convert_table_format (if all existing tables are ISAM or
MyISAM) or ALTER TABLE table_name TYPE=MyISAM on all ISAM tables to avoid
the deprecated ISAM table format.
Refer to the documentation on the MySQL website for migration details before running
these commands:
www.mysql.com/doc/en/Upgrading-from-3.23.html
LL2344.Book Page 21 Friday, August 22, 2003 3:44 PM
Przeglądanie stron 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 104 105

Komentarze do niniejszej Instrukcji

Brak uwag