关闭防火墙

关闭防火墙 vi /etc/selinux/config i进入编辑模式: 把SELINUX=enforcing修改成SELINUX=disabled。 esc退出编辑模式,:wq退出保存。【需重启】 firewalld防火墙【firewalld是centos7才有】 systemctl stop firewalld 关闭防火墙 systemctl disable firewalld 不让其开机启
相关文章
相关标签/搜索