Para deshabilitar las funciones de seguridad de SELinux, utilice uno de los siguientes métodos:
- Utilice la interfaz gráfica para deshabilitar SELinux mientras configura su sistema operativo y luego reinicie el servidor.
- Edite el archivo
/etc/selinux/configy configure elparámetroSELINUXendisabled , guardey luego reinicie el servidor. El contenido del archivo/etc/selinux/configdebería parecerse al siguiente ejemplo:
# 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=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targetedImportante:
Asegúrese de que el signo ( #) no esté delante de SELINUX=disabled. Si # precede a esta opción de configuración, el sistema ignora la opción.