nginx (2) 썸네일형 리스트형 [Linux] Job for nginx.service failed because a timeout was exceeded. NGINX service를 시작하면 아래와 같은 에러 메세지로 시작이 안되는 경우가 있습니다. # systemctl start nginx.service Job for nginx.service failed because a timeout was exceeded. See "systemctl status nginx.service" and "journalctl -xe" for details. systemctl status nginx.service를 통해 에러 메세지를 확인합니다. 문제가 되는 에러는 아래와 같이 pid file 때문입니다. Apr 16 08:54:03 localhost.localdomain systemd[1]: Starting The NGINX HTTP and reverse proxy serve.. [Linux] CentOS에 nginx 설치하기 NGINX 홈페이지에서 tar.gz 파일을 다운로드 합니다. https://nginx.org/en/download.html 압축 해제 후, 다음 명령어를 통해 설치를 진행합니다. ./configure make sudo make install 설치 중 아래와 같은 에러가 발생할 수 있습니다. 다음 명령어를 통해 PCRE library를 설치합니다. yum install pcre-devel checking for PCRE library ... not found checking for PCRE library in /usr/local/ ... not found checking for PCRE library in /usr/include/pcre/ ... not found checking for PCRE libra.. 이전 1 다음