
7
• Move (or remove) the database directory:
mv /var/lib/pgsql/data /var/lib/pgsql/data.backup
• Initialize the database:
/sbin/service postgresql initdb
• Start the new PostgreSQL service:
/sbin/service postgresql start
• Restore your data from back-up
psql -U username < /tmp/pg.backup
• Start the http daemon:
/sbin/service httpd start
• For MySQL:
• Start MySQL:
/sbin/service mysqld start
• Update MySQL:
mysql_upgrade
• Restore your data:
mysql -p < /tmp/mysqldumpfile.sql
5. Start the remaining daemons:
• Start the http daemon:
/sbin/service httpd start
The installation is now complete.