JetpropelledSnake
# 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

 

分类:

技术点:

相关文章:

  • 2021-09-25
猜你喜欢
  • 2021-12-12
  • 2021-05-11
  • 2021-12-05
  • 2021-11-18
  • 2021-12-27
相关资源
相似解决方案