centos 源码编译安装实战重要参考收藏
1.http://nginx.org/en/docs/install.html
出现错误:./configure:error:theHTTPrewritemodulerequiresthePCRElibrary.
处理:yum install pcre-devel
参考:2.http://www.thegeekstuff.com/2011/07/install-nginx-from-source/
出现错误:./configure:error:theHTTPgzipmodulerequiresthezliblibrary.
处理:yum install zlib-devel参考:
yum searh zlib
出现错误:bash:make:commandnotfound
处理:yum install make
引用
或者:yum groupinstall "Development Tools" # will install all the basic stuff necessary to build software from source.
参考:2.http://www.linuxquestions.org/questions/linux-software-2/bash-make-command-not-found-on-centos-6-a-914523/
问题:本地能访问,局域网其他机器无法访问
解决:关闭iptables/etc/init.d/iptables stop
参考:http://blog.csdn.net/tx122/article/details/7576971
最后:启动服务,/usr/local/nginx/sbin/nginx
参考:http://wiki.nginx.org/GettingStarted#Running_Nginx
相关推荐
changecan 2020-11-19
ECSHOP专属建设 2020-11-13
88427810 2020-11-02
步知道 2020-10-27
Junzizhiai 2020-10-10
jackalwb 2020-10-05
小网管 2020-09-03
shiwenqiang 2020-09-14
85251846 2020-09-14
summerinsist 2020-08-21
87901735 2020-08-19
PinkBean 2020-08-11
85407718 2020-08-09
MichelinMessi 2020-07-30
suosuo 2020-07-28
CARBON 2020-07-28
lizhengfa 2020-07-27
88427810 2020-07-26