CentOS7 minimal 关闭 firewall Netw

2018-03-19  本文已影响0人  余带盐
  1. 停止firewall
    systemctl stop firewalld.service
  2. 禁止firewall开机启动:
    systemctl disable firewalld.service
  3. 停止 NetworkManager
    systemctl stop NetworkManager
  4. 禁止NetworkManager
    systemctl disable NetworkManager
    注:关闭NetworkManager 会导致自动网络如无线网失败
  5. 关闭 selinux
    vi /etc/selinux/config
#SELINUX=enforcing
SELINUX=disabled
  1. 重启

getenforce

上一篇 下一篇

猜你喜欢

热点阅读