linux软件安装常见报错,请:关闭SELinux,关闭防火墙 实用代码 6月17日 编辑 黎罪 取消关注 关注 私信 关闭SELinux 设置SELinux 成为permissive模式,重启后失效。 setenforce 0 永久关闭防火墙 sed -i 's/SELINUX\=enforcing/SELINUX\=disabled/g' /etc/selinux/config 关闭防火墙 关闭防火墙,重启后失效 systemctl stop firewalld 永久关闭防火墙 systemctl disable firewalld