Linux学习笔记0-CentOS7关闭防火墙

 

关闭防火墙

systemctl stop firewalld.service     //停止firewall
systemctl disable firewalld.service     //禁止firewall开机启动
firewall-cmd --state     //查看默认防火墙状态(关闭后显示notrunning,开启后显示running)

 

posted @ 2017-06-16 00:26  dfhao  阅读(280)  评论(0)    收藏  举报