다음과 같은 오류가 발생한다면???


selinux 설정을 해제 해주어야합니다.


1. 일시적인 방법


setenforce 0


2. /etc/selinux/config 파일수정


vi편집기를 이용해서 


# 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=enforcing
# SELINUXTYPE= can take one of these two values:
#     targeted - Targeted processes are protected,
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

빨간색으로 표시된 부분을


SELINUX=disabled

으로 수정합니다.


+ Recent posts