Disable SELinux CentOS 6.4
Disable firewall CentOS 6.4
# sestatus
SELinux status:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â enabled
SELinuxfs mount:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â /sys/fs/selinux
SELinux root directory:Â Â Â Â Â Â Â Â /etc/selinux
Loaded policy name:Â Â Â Â Â Â Â Â Â Â Â Â targeted
Current mode:Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â enforcing
Mode from config file:Â Â Â Â Â Â Â Â Â enforcing
Policy MLS status:Â Â Â Â Â Â Â Â Â Â Â Â Â enabled
Policy deny_unknown status:Â Â Â Â allowed
Max kernel policy version:Â Â Â Â Â 28
# sed -i ‘s/enforcing/disable/g’ /etc/selinux/config /etc/selinux/config
# service iptables save
# service iptables stop
# chkconfig iptables off
# reboot
Leave a comment