【centOS】centos7 查看和关闭防火墙

查看防火墙状态

firewall-cmd --state

running代表防火墙正在运行

停止firewall

systemctl stop firewalld.service

禁止firewall开机启动

systemctl disable firewalld.service

猜你喜欢

转载自www.cnblogs.com/sxdcgaq8080/p/10032829.html