How to turn off selinux in centos?
Close SELINUX
vi
Modification
SELINUX=disabled
Command modification:
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
Restart
reboot
View status
sestatus
Related reference:centOS tutorial
The above is the detailed content of How to turn off selinux in centos. For more information, please follow other related articles on the PHP Chinese website!