linux系统为Centos6.5 64位nginx为1.4.7从http://nginx.org/download/上下载相应的版本解压 tar -zxvf nginx-1.4.7.tar.gz 设置一下配置信息: ./configure --prefix=/usr ...
linux系统为Centos6.5 64位
nginx为1.4.7
从http://nginx.org/download/上下载相应的版本
解压 tar -zxvf nginx-1.4.7.tar.gz
设置一下配置信息: ./configure --prefix=/usr/local/nginx (如果不执行此命令,make的时候可能会报错【make:No targets specified and no makefile found stop】)
make编译
make install安装
执行./configure --prefix=/usr/local/nginx可能会出现错误
【错误为:】./configure: error: the HTTP rewrite module requires the PCRE library.
【解决办法:】安装pcre-devel解决问题 yum -y install pcre-devel
【错误为:】/configure: error: the HTTP cache module requires md5 functions
原标题:linux 安装nginx
关键词:linux
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。