本文摘自PHP中文网,作者青灯夜游,侵删。
centos7中,可利用systemctl命令来关闭防火墙,语法“systemctl stop firewalld.service”;还可利用“systemctl disable firewalld.service”语句禁止防火墙开机启动。
本教程操作环境:centos7系统、Dell G3电脑。
CentOS 7.0默认使用的是firewall作为防火墙
查看防火墙状态
1 |
|
停止firewall
1 |
|
禁止firewall开机启动
1 |
|
相关推荐:《Linux视频教程》
以上就是centos7怎么关闭防火墙的详细内容,更多文章请关注木庄网络博客!
相关阅读 >>
CentOS7 yum fastestmirror不能使用怎么办
更多相关阅读请进入《CentOS7》频道 >>