Chapter 3. Installing using Red Hat Network (RHN)

These steps describe how to use Red Hat Network to install WAF on your Red Hat Enterprise Linux system. You will need to have a registered account on RHN and have obtained access to the WAF channel. This is usually done as part of a subscription or evaluation process. The registered target system will need to be installed with Red Hat Enterprise Linux AS, and must have either direct access to RHN, or be a user of an RHN Proxy Server or RHN Satellite Server.

Installion Procedure

  1. Install target system with Red Hat Enterprise Linux AS 2.1.

  2. Register system with RHN.

  3. Using your enterprise account or evaluation access, subscribe your system to the Red Hat Web Application Framework 6.0 channel on RHN. Also, subscribe your system to any other channels of Red Hat Applications software that you are using, such as Red Hat Content Management System 6.0. To obtain these entitlements, contact your Red Hat account manager. When available, the packages should appear in the Software tab. For more information about how to use RHN, see https://rhn.redhat.com/help/

  4. If the IBM Java 2 JDK is not installed on the system, use RHN to install the JDK:

    up2date zip rpm-build IBMJava2-SDK
  5. If you haven't already done so, install the RDMBS of your choice:

  6. Then install the WAF packages. RHN will handle the cross-dependencies automatically, installing and updating software packages as needed. If you want a binary (compiled) installation, you can either use RHN tools to schedule your installation of the below packages, or use the command-line tools on the target system:

    up2date tomcat ccm-core ccm-core-servlet-tomcat4

    For the full WAF development environment, install the source packages and tools. For more information about this, see Chapter 7 Installing WAF for Development. To install using RHN, type:

    up2date tomcat ccm-core-devel ccm-config ccm-devel ccm-scripts

    NoteNote
     

    Installing the development environment does not yield an application install. To install the application you will need to do an install of the binaries via RHN or downloaded package, or you can install the development environment and use it to build the application.

  7. If you are installing Red Hat Applications software in addition to Web Application Framework such as Content Management System or Portal Server, then you will need to install these packages as well. For example:

    up2date ccm-cms ccm-portalserver
  8. At this point, the necessary packages for WAF will have been installed. The next step is configuring your binary or development installation. Select from the following:

3.1. Installing WAF via RHN on Non-Red Hat Enterprise Linux Systems

This section is to get your RHN installation working for systems running an OS other than Red Hat Enterprise Linux.

  1. Manually install, in this order, OS, the RDBMS (either PostgreSQL or Oracle), and the servlet container (e.g., Tomcat). For more information, see Chapter 2 Preparing Your System For Installation.

  2. Obtain Red Hat Applications ISOs from RHN:

    1. Log into your account at http://rhn.redhat.com/.

    2. Select Software.

    3. Select Easy ISOs and download the Red Hat Applications ISO(s) that you need. There is a separate ISO for each product.

  3. To install using the ISOs on a UNIX® based system:

    1. mkdir /mnt/rhcms.

    2. mount -o loop <path_to_iso/mnt/rhcms>.

    3. Perform the rest of the install as in the Section 4.1.1 RPM Installation, using the mounted ISO filesystem as the source for RPM files.

  4. To install using the ISOs on a Windows® based system:

    1. Use CD-burning software to burn ISO to CD.

    2. Follow instructions for a ZIP install at the Section 4.1.2 ZIP Installation.