This chapter is for users who want just the basic steps for installing Red Hat WAF, CMS, Portal Server and Collaboration Applications on Linux. Before you start, make sure:
You have a properly configured and running Oracle8i or Oracle9i Database, or PostgreSQL 7.3.x database and know the JDBC URL to access the database. (For instructions on configuring the database, see Section 5.1.2 Installing Oracle Database for Production or Section 5.1.3 Installing PostgreSQL for Production.)
You have a working JRE 1.3.x or later.
You have a working installation of Tomcat 4.0.x or Resin 2.1.x. (For instructions for other servlet containers, see Section 5.1.4 Installing Servlet Container for Production.)
Important | |
---|---|
For installation on Linux and other UNIX® platforms, the installation tools assume that you are using a Bourne shell compatible shell (e.g. bash), accessible through /bin/sh. |
Tip | |
---|---|
If you experience problems using rpm version 4.1x, especially with the --relocate option, try versions 4.0x or 4.2x of rpm. |
Once you have this information, installation requires just five simple steps:
Download the RPMs you need to install. The easiest approach is to use Red Hat Network, which will download and install all the appropriate packages automatically with a single command (e.g., up2date ccm-cms ccm-tools-servlet-tomcat will download all the packages required to install CMS). More details can be found at Section 6.1.1.3 Installing WAF Applications via RHN.
If you are unable to use Red Hat Network, Section 3.6 Obtaining Red Hat WAF and Application Packages has the list of packages to install.
Install the RPMs. (Refer to Section 6.1.1.1 Installing Infrastructure RPMs for more information.)
rpm -ivh *.rpm |
Set the WAF environment variables. (Refer to Section 6.2 Configuring and Loading the Primary Application Instance for more information.)
. /etc/profile |
Load the packages, supplying the appropriate information when prompted. (Refer to Section 6.2 Configuring and Loading the Primary Application Instance for more information.) In the ccm UI, you can access more parameters by pressing r.
ccm load --interactive ccm-core ccm-cms |
Configure your servlet container. (Refer to Section 6.2 Configuring and Loading the Primary Application Instance for more information.)
ccm hostinit --parameter http-port=xxxx --parameter shutdown-port=yyyy |
Start your server. You will need your database server running already, the following command will start your servlet container. (Refer to Section 6.4 Starting the Server for more information.)
ccm start |
If you require any more detail, information or assistance than this, please read on, starting with Chapter 2 Installation Decisions.