How to turn off SELinux?
Answer: (pick either one)
1. Change the run-time configuration (won't take effect when you reboot)
# sestatus informs you of the two permission mode statuses,
# the current mode in runtime and the mode from the config
# file referenced during boot:
sestatus | grep -i mode
Current mode: enforcing
Mode from config file: enforcing
# Changing the runtime enforcement doesn't effect the
# boot time configuration:
setenforce 1
sestatus | grep -i mode
Current mode: permissive
Mode from config file: enforcing
2. Turn off SELinux permanently, use the following command
system-config-securitylevel