Installing Red Hat Application Stack - Red Hat APPLICATION STACK 1.2 - RELEASE NOTES Release Note

Table of Contents

Advertisement

Chapter 3.

Installing Red Hat Application Stack

To install Red Hat Application Stack V.1.2:
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
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/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
• To shut down PostgreSQL:
http://www.postgresql.org/docs/8.1/static/largeobjects.html
http://www.postgresql.org/docs/8.1/static/install-upgrading.html
and
7

Advertisement

Table of Contents
loading

Table of Contents