Linux7服务管理
OracleLinux7 关闭、禁用防火墙服务
OracleLinux7 关闭、禁用防火墙服务
1 查看防火墙状态
[root@lvxinghao ~]# systemctl status firewalld
![](http://img.blog.itpub.net/blog/attachment/201606/23/29475508_146666345275bd.jpg?x-oss-process=style/bb)
2 查看开机是否启动防火墙服务
[root@lvxinghao ~]# systemctl is-enabled firewalld
![](http://img.blog.itpub.net/blog/attachment/201606/23/29475508_1466663512Y3sp.jpg?x-oss-process=style/bb)
3 关闭防火墙
[root@lvxinghao ~]# systemctl stop firewalld
[root@lvxinghao ~]# systemctl status firewalld
![](http://img.blog.itpub.net/blog/attachment/201606/23/29475508_1466663522Lh6L.jpg?x-oss-process=style/bb)
4 禁用防火墙(系统启动时不启动防火墙服务)
[root@lvxinghao ~]# systemctl disable firewalld
[root@lvxinghao ~]# systemctl is-enabled firewalld
![](http://img.blog.itpub.net/blog/attachment/201606/23/29475508_1466663535OTpL.jpg?x-oss-process=style/bb)
吕星昊
2016.6.23
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29475508/viewspace-2120834/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29475508/viewspace-2120834/