Disable SELinux on CentOS/RHEL

To disable SELinux Method 1

Method 2 edit file


Replace with

Reboot the server with

You can disable selinux for current session by running command

See SELinux […]

Read More…


To disable SELinux, edit

Now you need to reboot. If you don’t want to reboot, disable it for current session with

If you use SELinux, you may need to configure it for each applications. For web server


Read More…