Installing Session Monitor Using the RPM
This section describes installing the Session Monitor using RPM.
You have to set up the machine with Oracle Linux operating system to install Session Monitor using the RPM.
Note:
Oracle Linux installs Kernel 3 by default but it is recommended to use the latest unbreakable kernel 4. Session Monitor requires the yum groups @base and @core. Configurations are necessary for proxies and repos, if there are any.To install Session Monitor using an RPM:
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.
To enable SELinux:
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. To configure http to run on a port other than the TCP ports listed
above, such as 8001, then add the ports to the SELinux port list using the
command:
semanage port -a -t http_port_t -p tcp 8001
Troubleshooting Tips
Following intructions will be helpful in solving issues in configuring SELinux.
To modify the mode in which SELinux runs in real-time, run the following commands:
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 |
|