Follow the tasks outlined in this section before you install the web agent. The first pre-installation task applies specifically to Linux systems. The second pre-installation task involves general steps that are not Linux specific.
If you are installing the agent for Apache HTTP Server on a Linux system, you must complete the following tasks in the order they are listed below, to ensure that Apache HTTP Server is configured with the POSIX Threads library. Failing to perform these steps might result in the application becoming unusable or might result in the entire system becoming unstable and unusable.
Get the Apache HTTP Server source (version 1.3.33 or 2.0.54) from http://httpd.apache.org/
Before you run configure, set an environment variable LIBS=-lpthread as shown in the table.
Shell |
Environment Variable |
---|---|
sh |
LIBS=-lpthread;export |
bash |
export LIBS=-lpthread |
tcsh |
setenv LIBS ’-lpthread’ |
Configure your version of Apache HTTP Server with the respective flags as follows:
Apache HTTP Server 1.3.33
Apache-source/configure --prefix=Apache-base \ --enable-rule=SHARED_CORE --enable-shared=max |
Apache HTTP Server 2.0.54
Apache-source/configure --prefix=Apache-base --enable-so |
represents the directory where the Apache HTTP Server source was unpacked
represents the directory where Apache HTTP Server was installed
Rebuild and install Apache HTTP Server.
Refer to the Apache HTTP Server documentation for details on how best to install and configure this server.
Ensure that Apache HTTP Server has the latest patches available.
You must have Java Runtime Environment (JRE) 1.3.1 or higher installed or available on a shared file system in order to run the graphical user interface (GUI) of the web agent installation program. Currently, JRE 1.3.1 or any version higher is certified for use with the web agent installation program.
Perform the following pre-installation tasks:
Ensure that Policy Agent 2.2 for Apache HTTP Server is supported on the desired platform as listed in Supported Platforms and Compatibility of Agent for Apache HTTP Server.
Set your JAVAHOME environment variable to a JDK version 1.3.1_04 or higher.
The installation requires that you set up your JAVAHOME variable correctly. However, if you have incorrectly set the JAVAHOME variable, the setup script will prompt you for supplying the correct JAVAHOME value:
Please enter JAVAHOME path to pick up java: