How to disable SELinux in Centos7
This article explains the steps to disable SELinux in Centos7 serves.
To disable SELinux temporarily, we can use the following command as root.
#setenforce 0
But note that SELinux will enable back once the server rebooted.
Inorder to disable SELinux permanently, follow the below given steps.
Step1: Open the SELinux configuration file.
#vi /etc/selinux/config
Step2: Update the following line and save the file.
SELINUX=disabled
Step3: Reboot the server.
That's all…