Home > Backend Development > PHP Tutorial > Common errors when installing nginx under linux

Common errors when installing nginx under linux

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-29 09:11:18
Original
892 people have browsed it

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>
Copy after login

Start after successful installation

<code>service nginx start
</code>
Copy after login

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>
Copy after login

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.

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template