Disabling SELINUX

In order to disable selinux , run the following commands :

To Disable SeLinux For Current Session only :

setenforce permissive

or

echo 0 > /selinux/enforce

To Disable Selinux permanently:

vi /etc/sysconfig/selinux SELINUX=disabled