首页 > 其他 > 详细

nginx 环境搭建使用之入门

时间:2015-06-02 14:50:37      阅读:205      评论:0      收藏:0      [点我收藏+]

http://nginx.org/下载最新的nginx

现在最新的版本是nginx-1.9.1   下载.tar.gz包 ,解压。

timeless@timeless-HP-Pavilion-g4-Notebook-PC:/usr/local/src/nginx-1.9.1$ ./configure

configure 过程中可能会遇到错误

./configure: error: the HTTP rewrite module requires the PCRE library.   //大体意思是重写模块需要pcre模块  
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.

解决办法

http://www.pcre.org/       编译安装便可 

执行操作./configure  &&make &&make install

nginx 环境搭建使用之入门

原文:http://www.cnblogs.com/timelesszhuang/p/4546276.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!