Created
March 18, 2015 07:41
-
-
Save subchen/e2d5f9f9e04499a01668 to your computer and use it in GitHub Desktop.
disable selinux & firewall
This file contains 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 selinux | |
echo SELINUX=disabled > /etc/sysconfig/selinux | |
echo SELINUXTYPE=targeted >> /etc/sysconfig/selinux | |
setenforce 0 | |
# disable firewall | |
systemctl disable firewalld |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment