關閉防火牆

關閉防火牆 vi /etc/selinux/config i進入編輯模式: 把SELINUX=enforcing修改成SELINUX=disabled。 esc退出編輯模式,:wq退出保存。【需重啓】 firewalld防火牆【firewalld是centos7纔有】 systemctl stop firewalld 關閉防火牆 systemctl disable firewalld 不讓其開機啓
相關文章
相關標籤/搜索