Sun Java System Access Manager Policy Agent 2.2 Guide for Apache HTTP Server 2.0.54

Preparing to Install Agent for Apache HTTP Server on Linux Systems

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.

ProcedureTo Prepare to Install Agent for Apache HTTP Server Specifically on Linux Systems

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.

  1. Get the Apache HTTP Server source (version 1.3.33 or 2.0.54) from http://httpd.apache.org/

  2. 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’ 

  3. 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
    Apache-source

    represents the directory where the Apache HTTP Server source was unpacked

    Apache-base

    represents the directory where Apache HTTP Server was installed

  4. Rebuild and install Apache HTTP Server.

    Refer to the Apache HTTP Server documentation for details on how best to install and configure this server.

  5. Ensure that Apache HTTP Server has the latest patches available.

ProcedureTo Prepare to Install Agent for Apache HTTP Server on Linux Systems


Note –

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:

  1. 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.

  2. 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: