How do I disable SELinux?
 

Alternative 1 (permanent deactivation):

  1. # vi /etc/selinux/config
  2. Change line SELINUX=enforcing to SELINUX=disabled.
  3. Reboot to activate the change.

Alternative 2 (temporary deactivation):

Activate without reboot for this session only.

  1. # setenforce 0

Note that this will revert to enforcing once you reboot.