1. 临时和永久关闭Selinux
[[email protected] ~]# getenforce
Enforcing
[[email protected] ~]# setenforce 0
[[email protected] ~]# getenforce
Permissive
永久关闭:
[[email protected] ~]# vim /etc/sysconfig/selinux
SELINUX=enforcing 改为 SELINUX=disabled
重启服务reboot
原文地址:https://www.cnblogs.com/lyss/p/12122904.html
时间: 2024-11-02 06:52:00