2017-11-21 15 views
0

나는 godaddy vps 서버를 구입했고 그것에 nginx, laravel 및 php를 설치하려고합니다.centos6.9에서 nginx, php 및 laravel을 (를) 설치하는 방법?

나는 문제가 무엇입니까 nginx를 설치하려고했다 :

nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such file or directory) 

1. List item 

2017/11/21 03:52:00 [emerg] 23590#0: open() "/etc/nginx/nginx.conf" failed (2: No such file or directory) 
nginx: configuration file /etc/nginx/nginx.conf test failed 

답변

0

SELinux에이 꺼져있는 경우 확인해야합니다.
업데이트 :
여기에 가이드로 SELinux를 사용하지 않도록 설정하십시오 https://www.tecmint.com/disable-selinux-temporarily-permanently-in-centos-rhel-fedora/
시간을 절약하기 위해, 명령 아래에보십시오 :
위해 setenforce 0
그런 다음 다시 작업을 시도합니다.

+0

어디에서이 옵션을 사용할 수 있습니까? 설명해 주시겠습니까? –