Linux에서 nginx를 설치할 때 발생하는 일반적인 오류
오류: ./configure: 오류: HTTP 재작성 모듈에 PCRE 라이브러리가 필요
해결책:
<code>安装pcre-devel解决问题 yum -y install pcre-devel </code>
설치 성공 후 시작
<code>service nginx start </code>
IP 접속을 통해 접속할 수 없음
<code>#vi /etc/sysconfig/iptables //在倒数第二行加入80端口 -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT //重启iptables #/etc/init.d/iptables restart </code>
완료
').addClass('pre -번호 매기기').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });위 내용은 필수 내용을 포함하여 Linux에서 nginx를 설치할 때 흔히 발생하는 실수를 소개합니다. PHP 튜토리얼에 관심이 있는 친구들에게 도움이 되기를 바랍니다.