linux-常用命令 防火墙(firewalld)参考文档:https://www.zhaokeli.com/Article/6321.html 12345678910111213//开启80端口firewall-cmd --zone=public --add-port=80/tcp --permanent//重启防火墙systemctl restart firewalld//启动systemctl start firewalld//查看状态systemctl status firewalldfirewall-cmd --state//停止systemctl disable firewalld//禁用systemctl stop firewalld 2017-03-01 centos7linux