centos关闭防火墙

CentOS 7.0默认使用的是firewall做为防火墙spa

查看防火墙状态code

firewall-cmd --state

中止firewallcmd

systemctl stop firewalld.service

禁止firewall开机启动it

systemctl disable firewalld.service