systemctl stop firewalld.service #关闭防火墙
systemctl disable firewalld.service #永久关闭防火墙
sed -i 's#SELINUX=.*#SELINUX=disabled#' /etc/selinux/config #关闭selinux
systemctl stop firewalld.service #关闭防火墙
systemctl disable firewalld.service #永久关闭防火墙
sed -i 's#SELINUX=.*#SELINUX=disabled#' /etc/selinux/config #关闭selinux
本文标题:关闭防火墙关闭selinux
本文链接:https://www.haomeiwen.com/subject/cwbekrtx.html
网友评论