18 Kasım 2014 Salı

Disable SELINUX and IPTABLES on Centos 7

# DISABLE SELINUX AND IPTABLESsetenforce 0
sed -i.bak "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config
systemctl disable iptables.service
systemctl stop iptables.service
systemctl disable firewalld.service
systemctl stop firewalld.service
# /usr/sbin/reboot

Hiç yorum yok:

Yorum Gönder