Disabling SELinux
Purpose
Disable SELinux to reduce the performance loss of SELinux.
Procedure
- Open the SELinux file.
1vim /etc/sysconfig/selinux - Press i to enter the insert mode and change the value of SELINUX from enforcing to disabled.

- Press Esc, type :wq!, and press Enter to save the file and exit.
- Restart the server and check whether SELinux is disabled.
1/usr/sbin/sestatus -vIf the SELinux status parameter is disabled, SELinux is disabled.
Parent topic: OS Tuning