firewall-cmd --state #查看默认防火墙状态(关闭后显示notrunning,开启后显示running)
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
init 6 #重启虚拟机,然后再输入第一条命令查看防火墙状态
标签:centos7 number asm roc emctl running firewalld init run
firewall-cmd --state #查看默认防火墙状态(关闭后显示notrunning,开启后显示running)
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
init 6 #重启虚拟机,然后再输入第一条命令查看防火墙状态
标签:centos7 number asm roc emctl running firewalld init run
原文地址:https://www.cnblogs.com/nyfz/p/8686717.html