Download and Install the Apache Agent

To guarantee performance and stability, you should install one agent for each Apache instance. Do not exceed two Apache instances per agent. For cURL installation, see Download Splunk AppDynamics Software.
  1. Download the Apache Agent from the Getting Started wizard or https://accounts.appdynamics.com/downloads.
  2. Extract the agent to /opt.
    Note: The agent installs to /opt/appdynamics-sdk-native. This is the <agent_install_directory>. If you are installing multiple agents, you must create separate install directories for each agent.
    OptionDescription
    Alpine and Linux
    tar -xzvf appdynamics-sdk-native-nativeWebServer-<64bit | 32bit>-<alpine-linux | linux>-<version>.tgz -C /opt
    AIX
    gzip -c appdynamics-sdk-native-nativeWebServer-64bit-aix-<version>.tgz | tar xvf - -C /opt
  3. Grant the Apache, IHS, or OHS owner read and write permissions to the logs directory: <agent_install_directory>/logs .
  4. Run the following command to load all the necessary libraries before installation.
    We recommend adding this command in the .bashrc file. This will eliminate the need to export LD_LIBRARY_PATH again and again.
    export LD_LIBRARY_PATH=<agent_installation_folder>/sdk_lib/lib
  5. Run install.sh.

    This script installs the agent proxy.

    <agent_install_directory>/install.sh
  6. For an agent to monitor your Apache instance, you must launch the proxy.
    If you are monitoring multiple Apache instances, we recommend that you manually launch each proxy, and set AppDynamicsLaunchProxy to OFF for every Apache instance.
The next step is to create the agent configuration file and configure the agent.