Created
May 14, 2018 16:03
-
-
Save dubcl/fb458e7b88e9a7ba7022cbf9002ab564 to your computer and use it in GitHub Desktop.
Disable CentOS 7 selinux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable temporarily | |
echo 0 > /selinux/enforce | |
# Or | |
setenforce 0 | |
# Or | |
setenforce Permissive | |
# Disable SELinux Permanently | |
vim /etc/sysconfig/selinux | |
# Change SELINUX to "disabled" | |
SELINUX=disabled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment