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/largeobjects.html
and
http://www.postgresql.org/docs/8.1/static/app-pg-dumpall.html
For more information, see
http://www.postgresql.org/docs/8.1/static/install-upgrading.html
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:
Chapter 3.
7
Содержание APPLICATION STACK 1.2 RELEASE
Страница 1: ...Red Hat Application Stack V 1 2 Release Notes 1 2 ISBN N A Publication date ...
Страница 2: ...Red Hat Application Stack V 1 ...
Страница 3: ...Red Hat Application Stack V 1 2 Release Notes Copyright 2006 2007 Red Hat Inc ...
Страница 4: ...Red Hat Application Stack V 1 ...
Страница 6: ...vi ...
Страница 8: ...2 ...
Страница 12: ...6 ...
Страница 24: ...18 ...
Страница 26: ...20 ...