# Centos6.x /etc/init.d/iptables stop chkconfig iptables off sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config grep SELINUX=disabled /etc/selinux/config setenforce 0 # Centos7.x systemctl stop firewalld.service systemctl disable firewalld.service sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config grep SELINUX=disabled /etc/selinux/config setenforce 0
Linux学习笔记之Linux Centos关闭防火墙
猜你喜欢
转载自www.cnblogs.com/JetpropelledSnake/p/9893519.html
今日推荐
周排行