Installing Session Monitor Using the Zip File Downloaded from the MOS Website
This section describes installing the Session Monitor using RPM files downloaded from the MOS website.
You have to set up the machine with Oracle Linux 8 operating system to install Session Monitor using the RPM. Configurations are necessary for proxies and repos, if there are any, see Configuring Proxies and Repos.
To install Session Monitor using an RPM:
- Verify that the system hosting the Session Monitor is connected to the Internet.
- Log on to the Session Monitor server as the root user or root privileged user.
- Run this command to verify that Oracle Linux 8 has been installed.
cat /etc/oracle-release
- If partitioning is required, refer to the section Creating a Separate Partition for Data and MySQL Storage.
- Download the Session Monitor software:
- Create a temporary directory (temp_dir) on the system that hosts the Session Monitor.
- Download the software pack for your operating system from the Oracle software delivery website.
- Download the Session Monitor installation software RPM Zip
file to
temp_dir
. - Unzip the Session Monitor installation software RPM Zip file.
Verifying the Contents of the Session Monitor Installation Bundle
Verify the contents of the Session Monitor installation.zip bundle that you downloaded from the My Oracle Support website (MOS).
- README.txt
- meta.nfo
- ocsm-5.2.0.0.5-RPM-GA.zip
- other_files/
- other_files/my-8.0.cnf
- other_files/ocsm-5.2.0.0.5.revision.txt
- scripts/
- scripts/Backup and Restore Scripts/
- scripts/Backup and Restore Scripts/MySQLDeltaUpgrade.sh
- scripts/Backup and Restore Scripts/backupAndRestoreBlockStorage.sh
- scripts/Backup and Restore Scripts/backupAndRestoreOtherFiles.sh
- scripts/FIPS_Scripts/
- scripts/FIPS_Scripts/Disable_FIPS_on_MySQL.sh
- scripts/FIPS_Scripts/Disable_FIPS_on_OL.sh
- scripts/FIPS_Scripts/Enable_FIPS_on_MySQL.sh
- scripts/FIPS_Scripts/Enable_FIPS_on_OL.sh
- scripts/Offline_Installation/
- scripts/Offline_Installation/Download_rpms.sh
- scripts/Offline_Installation/Offline_OCSM_Installation_Rel_5.2.sh
- scripts/Offline_Installation/Offline_Repo_OCSM_Rel_5.2.sh
- scripts/Offline_Installation/Offline_Repo_Server_preparation_Rel_5.2.sh
- scripts/Offline_Installation/Offline_Upgrade_OCSM_Rel_5.2.sh
- scripts/Install_OCSM_Rel_5.2.sh
- scripts/Upgrade_OCSM_Rel_5.2.sh
Creating a Separate Partition for Data Storage and MySQL Storage
Perform the following tasks to create a separate partition for data (block) storage and MySQL Storage
- Single partition (default option)
- Secondary partition for data and MySQL storage
Enabling SELinux
Session Monitor currently supports the following top-level state of SELinux on a system – enforcing, permissive and disabled. The only supported SELinux type is targeted.
Adding Ports in the SELinux Port List
On a SELinux enabled machine, in order to use any port other than the default ports in the Session Monitor, add the port in the SELinux port list using the following commands.
yum install -y setroubleshoot-server
semanage port -a -t <Service_Name> -p <Protocol> <Port_Number>
You
can view all ports allowed in the SELinux using the command:
semanage port -l
For example: By default,
SELinux allows http to listen on TCP ports 80, 443, 488, 8008, 8009, or
8443. semanage port -a -t http_port_t -p tcp 8001
Troubleshooting Tips
Following intructions will be helpful in solving issues in configuring SELinux.
Table 2-1 Modifying SELinux Mode
Mode | Command |
---|---|
To run SELinux in permissive mode (System prints warnings only but does not enforce SELinux policy) |
|
To run SELinux in the enforcing mode (SELinux security policy is enforced) |
|
Verify the status using command |
|