카테고리 없음

selinux가 뭐길래. 이놈때매 라라벨 첫페이지를 못봤다...

hackee 2019. 7. 8. 15:12

 

 정말 간단히 selinux 비활성화하니까  라라벨  permission denied 문제가 해결됐다.

기분나빠서 selinux 공부중.. 

 

 

/var/log/audit/audit.log 열어보니까  httpd 서비스 관련 denied 된 기록들이 보인다

https://www.lesstif.com/pages/viewpage.action?pageId=48988293

 

SELinux 문제 해결

이제 마지막으로 SELinux 에서 서비스나 프로그램이 제대로 동작하지 않을 때 원인을 분석하고 해결책을 찾는 과정을 살펴보면서 앞에서 설명한 내용을 정리해 보겠습니다.

www.lesstif.com

https://stackoverflow.com/questions/30306315/laravel-5-laravel-log-could-not-be-opened-permission-denied

 

Laravel 5: laravel.log could not be opened: Permission Denied

To stop you from the start, there is NO permission issue. /storage is recursively chmodded 777 and whole project folder is chowned by apache:apache I even renamed the log file to ...-old and apache

stackoverflow.com

https://wiki.modernpug.org/display/LAR/questions/14028597/unexpectedvalueexception-%EC%97%90%EB%9F%AC.

 

UnexpectedValueException 에러. - laravel - Modern PHP User Group Confluence

 

wiki.modernpug.org

 

 

selinux : 시스템 자원에 접근 / 사용 할수 있는  사람,그룹에게만  접근 허가해주고  나머지 통제하는 놈.  https://www.lesstif.com/pages/viewpage.action?pageId=18219472

 

SELinux 란?

 

www.lesstif.com

https://www.lesstif.com/pages/viewpage.action?pageId=48988478

 

동작 모드

SELinux 는 enforce, permissive, disable 세 가지 동작 모드가 있으며 설치하면 기본적으로 enforce 모드로 동작합니다.

www.lesstif.com