1.[url]http://nginx.org/en/docs/install.html[/url]
出现错误: ./configure: error: the HTTP rewrite module requires the PCRE library.
处理:
参考:2.[url]http://www.thegeekstuff.com/2011/07/install-nginx-from-source/[/url]
出现错误:./configure: error: the HTTP gzip module requires the zlib library.
处理:
参考:
出现错误: bash: make: command not found
处理:
[quote]或者:yum groupinstall "Development Tools" # will install all the basic stuff necessary to build software from source.[/quote]
参考:2.[url]http://www.linuxquestions.org/questions/linux-software-2/bash-make-command-not-found-on-centos-6-a-914523/[/url]
问题:本地能访问,局域网其他机器无法访问
解决:关闭iptables
参考:[url]http://blog.youkuaiyun.com/tx122/article/details/7576971[/url]
最后:启动服务,
参考:[url]http://wiki.nginx.org/GettingStarted#Running_Nginx[/url]
出现错误: ./configure: error: the HTTP rewrite module requires the PCRE library.
处理:
yum install pcre-devel
参考:2.[url]http://www.thegeekstuff.com/2011/07/install-nginx-from-source/[/url]
出现错误:./configure: error: the HTTP gzip module requires the zlib library.
处理:
yum install zlib-devel
参考:
yum searh zlib
出现错误: bash: make: command not found
处理:
yum install make
[quote]或者:yum groupinstall "Development Tools" # will install all the basic stuff necessary to build software from source.[/quote]
参考:2.[url]http://www.linuxquestions.org/questions/linux-software-2/bash-make-command-not-found-on-centos-6-a-914523/[/url]
问题:本地能访问,局域网其他机器无法访问
解决:关闭iptables
/etc/init.d/iptables stop
参考:[url]http://blog.youkuaiyun.com/tx122/article/details/7576971[/url]
最后:启动服务,
/usr/local/nginx/sbin/nginx
参考:[url]http://wiki.nginx.org/GettingStarted#Running_Nginx[/url]