Edit SELinux config file:
# vi /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
0 comments:
Post a Comment