Chapter 3.
Installing Red Hat Application Stack
To install Red Hat Application Stack V.1.1:
1. If you have an existing database, back up your data and shut down the database:
If you are using PostgreSQL:
• Back-up your database. For example, run:
su -
rm -rf /tmp/pg.backup
su - postgres
/usr/bin/pg_dumpall > /tmp/pg.backup
exit
Note
Note: If you have large objects in the database, you need to use pg_dump
instead of pg_dumpall. See
http://www.postgresql.org/docs/8.1/static/largeobjects.html
http://www.postgresql.org/docs/8.1/static/app-pg-dumpall.html
For more information, see
If you are using MySQL:
• Backing-up your database is optional but recommended. Run as root:
mysqldump --all-databases -p > /tmp/mysqldumpfile.sql
2. Stop the daemons:
•
/sbin/service httpd stop
• To shut down MySQL:
/sbin/service mysqld stop
http://www.postgresql.org/docs/8.1/static/install-upgrading.html
and
9
Need help?
Do you have a question about the APPLICATION STACK 1.1 - RELEASE NOTES and is the answer not in the manual?
Questions and answers