Common errors when installing nginx under Linux
Error: ./configure: error: the HTTP rewrite module requires the PCRE library
Solution:
<code>安装pcre-devel解决问题 yum -y install pcre-devel </code>
Start after successful installation
<code>service nginx start </code>
Found inaccessible via IP access
<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>
done
').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });The above introduces the common mistakes in installing nginx under Linux, including the require content. I hope it will be helpful to friends who are interested in PHP tutorials.