Installing Session Monitor Using the RPM File
This section describes installing the Session Monitor using RPM.
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:
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 |
|