다음과 같은 오류가 발생한다면???
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
으로 수정합니다.
'개인공부 > CentOS, PHP, MySQL' 카테고리의 다른 글
Mysql(Mariadb) 한글깨짐 해결 (0) | 2017.12.22 |
---|---|
Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. (0) | 2017.12.18 |
CentOS APM 설치 - 20171215 (0) | 2017.12.16 |
CentOS APM설치 명령어 (0) | 2017.12.15 |
CentOS APM 버전확인 (0) | 2017.12.15 |