centos7中,可利用systemctl命令来关闭防火墙,语法“systemctl stop firewalld.service”;还可利用“systemctl disable firewalld.service”语句禁止防火墙开机启动。
本教程操作环境:centos7系统、Dell G3电脑。
CentOS 7.0默认使用的是firewall作为防火墙
查看防火墙状态
firewall-cmd --state
停止firewall
systemctl stop firewalld.service
禁止firewall开机启动
systemctl disable firewalld.service
相关推荐:《Linux视频教程》
以上就是centos7怎么关闭防火墙的详细内容,更多请关注php中文网其它相关文章!
Copyright 2014-2023//m.sbmmt.com/ All Rights Reserved | 苏州跃动光标网络科技有限公司 | 苏ICP备2020058653号-1
| 本站CDN由 数掘科技 提供