If you need to configure selinux turn on or turn off that you can read this post .

first login to ssh

type code below and inter

nano /etc/sysconfig/selinux

the result should be like this

# This file controls the state of SELinux on the system.# SELINUX= can take one of these three values:# enforcing - SELinux security policy is enforced.# permissive - SELinux prints warnings instead of enforcing.# disabled - No SELinux policy is loaded.SELINUX=permissive# SELINUXTYPE= can take one of these two values:# targeted - Targeted processes are protected,# mls - Multi Level Security protection.SELINUXTYPE=targeted

You can change the value of SELINUX with your needed configuration .

for saving the configurtaion file heat CTRL+x and then type y to save and exit .