centOS開啓和關閉防火牆

CentOS 7.0默認使用的是firewall作爲防火牆,在安裝某些軟件的時候就需要關閉防火牆。 一、查看防火牆的狀態 開啓顯示 running,關閉後顯示 not running 執行命令 firewall-cmd --state 二、關閉防火牆 執行命令 systemctl stop firewalld.service 禁止防火牆在開機時啓動 systemctl disable firewa
相關文章
相關標籤/搜索