Installing on an Oracle HTTP Server
Manually install a PingAccess agent on a RHEL system with Apache 2.4 when using an Oracle HTTP Server.
Before you begin
-
Review the RHEL agent system requirements and make sure you’re using a supported combination of agent version and RHEL version.
-
Download an
agent.propertiesfile:-
In the PingAccess admin console, go to Applications > Agents.
-
Click the Pencil icon to edit a configured agent.
If you haven’t created an agent yet, learn more about how to do so in Adding agents.
-
In the Shared Secrets section, click the Download icon to download the configuration.
The configuration file will be named
<agentname>_agent.properties.
-
This procedure assumes that:
Details
-
You’ve installed and configured the Oracle HTTP Server 12c according to Oracle’s documentation.
-
You’ve downloaded and extracted the version-appropriate
.ziparchive for your environment. For example:-
pingaccess-agent-apache24-rhel8*.zip -
pingaccess-agent-apache24-rhel9*.zip
-
-
$ORACLE_HOMEand$OHS_COMPONENT_NAMEare set in the file path. -
You’ve installed the Oracle HTTP Server at the appropriate location within
$ORACLE_HOME. If you haven’t, modify the file paths specified in this procedure based on where your Oracle HTTP Server installation and configuration files are located. -
You’ve installed
libcurland PCRE or verified that they’re installed. To install these packages, use the yum install libcurl pcre command.
Steps
-
Go to the
pingaccess-agent-apache24-<RHEL_version>-<agent_version>/<arch>/directory.These are the only valid values currently:
-
<RHEL_version>:
rhel8orrhel9 -
<agent_version>:
1.5.2if using RHEL 8 or3.0.0if using RHEL 9 -
<arch>:
x86_64for 64-bit.
Example:
cd pingaccess-agent-apache24-rhel9-3.0.0/x86_64/ -
-
Extract the package RPMs using the following command:
mkdir pkgroot cp *.rpm pkgroot/ cd pkgroot for r in *.rpm; do rpm2cpio $r | cpio -idmv; done
-
Run the
cpcommand to copy the libraries to the appropriate OHS directories.Example:
cp -av usr/lib64/*.so* $ORACLE_HOME/ohs/modules
-
Copy
mod_paa.sointo the OHS modules directory:cp -av usr/lib64/httpd/modules/mod_paa.so $ORACLE_HOME/ohs/modules
-
Copy the
10-paa.conffile to the OHS component home directory:cp -av etc/httpd/conf.modules.d/10-paa.conf $ORACLE_HOME/user_projects/domains/base_domain/config/fmwconfig/components/OHS/instances/$OHS_COMPONENT_NAME/
-
Create a
conf.ddirectory if it doesn’t already exist in the OHS component home directory:mkdir $ORACLE_HOME/user_projects/domains/base_domain/config/fmwconfig/components/OHS/instances/$OHS_COMPONENT_NAME/conf.d
-
Copy the
<agentname>_agent.propertiesfile to the$ORACLE_HOME/user_projects/domains/base_domain/config/fmwconfig/components/OHS/instances/$OHS_COMPONENT_NAME/conf.ddirectory.This is the configuration file that you downloaded in step 3 of the prerequisites section.
-
In the
10-paa.conffile:-
Add the following lines before the
LoadModuledirective:LoadFile $ORACLE_HOME/ohs/modules libpgm-5.2.so.0 LoadFile $ORACLE_HOME/ohs/modules libzmq.so.5
-
Update the
LoadModuledirective to the correct path formod_paa.so:LoadModule paa_module $ORACLE_HOME/ohs/modules/mod_paa.so
-
Update the values for
PaaPropertyFilesandPaaCertificateDirto point to your OHSconf.ddirectory.
-
-
In the OHS configuration file,
$ORACLE_HOME/user_projects/domains/base_domain/config/fmwconfig/components/OHS/instances/$OHS_COMPONENT_NAME/http.conf, use the following directive to add the PingAccess agent for Apache’s module configuration to the Oracle HTTP Server:Include "10-paa.conf"
-
Restart the OHS service by running
$ORACLE_HOME/user_projects/domains/base_domain/bin/restartComponent.sh <$OHS_COMPONENT_NAME>.