To check if SELinux is running/enforcing, run the following command:
sestatus
To disable SELinux, edit the file /etc/selinux/config, and change SELINUX=enforcing to SELINUX=disabled
The following command will disable SELinux:
sed -i 's/SELINUX\=enforcing/SELINUX\=disabled/g' /etc/selinux/config
You will need to restart your system for changes in SELinux to take effect.