Linux7服務管理 Oracle Linux 7 關閉、禁用防火牆服務

1 查看防火牆狀態

[root@lvxinghao ~]# systemctl status firewalld



2 查看開機是否啓動防火牆服務
[root@lvxinghao ~]# systemctl is-enabled firewalld



3 關閉防火牆
[root@lvxinghao ~]# systemctl stop firewalld
[root@lvxinghao ~]# systemctl status firewalld


4 禁用防火牆(系統啓動時不啓動防火牆服務)
[root@lvxinghao ~]# systemctl disable firewalld
[root@lvxinghao ~]# systemctl is-enabled firewalld

本文永久更新鏈接地址http://www.linuxidc.com/Linux/2017-03/142096.htm

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章