Chapter 4. Installing the Binary Distribution

This section assumes that you have performed the necessary system preparation steps outlined in Chapter 2 Preparing Your System For Installation. In particular, it assumes you have at least a JDK, a database, and a servlet container installed.

CautionCaution
 

We want everyone who installs WAF to have a good experience. We have worked to create installation and configuration documentation for the environments we commonly support. While Red Hat supports deployment of WAF on a Windows® platform for our customers, we rely on the community to provide support to those who are experimenting on their own.

If you are trying to deploy WAF on a Windows® system, we encourage you to try using Linux first. Get a copy of Red Hat Linux (http://www.redhat.com/software/linux/) or Red Hat Enterprise Linux AS (http://www.redhat.com/software/rhel/), and try your hand at deploying WAF on our OS. You will find the installation much easier, and the system much more reliable and responsive. However, we understand that some folks will still want to use Windows®, and we encourage you to post your questions to [email protected] for a response from folks in our community who have traveled the same road.

4.1. Package Installation

The Red Hat Web Application Framework is primarily distributed in two formats, RPM and ZIP. The RPM installation has the advantages of automatically registering all of the software with RPM databases (enabling version tracking, dependency tracking, and package removal) and also requires less configuration. The ZIP package should be used for installations on operating systems without RPM support, such as Sun Solaris® and Microsoft Windows®.

4.1.1. RPM Installation

  1. Download the following RPMs:

    • ccm-core-6.x.y-z.noarch.rpm — the binary distribution of WAF.

    • ccm-core-servlet-servletname-6.x.y-z.rpm — the servlet configuration package; replace servletname with the name of the servlet engine you install .

  2. As the root user, install the WAF and servlet RPMs. The commands will look like:

    rpm -ivh ccm-core-servlet-servletname-6.x.y-z.rpm
    rpm -ivh ccm-core-x.y.z-a.rpm

4.1.2. ZIP Installation

  1. Download and unzip the appropriate ZIP file, such as ccm-core-6.x.y-z-bin.zip.

  2. Add the dir/ directory of the expanded ZIP to the PATH environment variable.