How To disable SELinux
If you are having problems with it, and if you want to disable it:
Login as root then:
Edit SELinux config file:
# nano /etc/selinux/config
Then set SELINUX= to disabled.
SELINUX=disabled
Replace the current line which most of the time will be set to enforcing. This disabled SELinux on boot, however it is still enabled to disable it without having to reboot execute:
setenforce 0
Take a look on setsebool command, if you want to enable specific applications without disabling SELinux look at the . The most common problem is SELinux blocking mySQL. You can fix it:
# setsebool -P mysqld_disable_trans=1
Subscribe to:
Post Comments (Atom)
0 Comments:
Post a Comment