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

Table of Contents

Advertisement

Chapter 3.

Installing Red Hat Application Stack

To install Red Hat Application Stack V.2.4:
1. If you have an existing database and are installing Red Hat Application Stack for the first time,
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
• 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:
/sbin/service postgresql stop
3. Install the software:
• To install from RHN:
• Subscribe to the Red Hat Application Stack child channel:
e.g: rhel-x86_64-5-appstk-2 or rhel-i386-5-appstk-2
• Subscribe to the Enterprise Application Platfrom child channel:
e.g: jbappplatform-4-i386-as-5-rpm or jbappplatform-4-x86_64-as-5-rpm
• Run as root: yum update
5

Advertisement

Table of Contents
loading

Table of Contents