./configure: error: the HTTP rewrite module requi
2015-10-22 00:00
741 查看
有时候,我们需要单独安装nginx,来处理大量的下载请求。单独在Centos5安装nginx遇到的rewrite和HTTP cache错误解决办法:
wget http://nginx.org/download/nginx-0.8.33.tar.gz tar -zxvf nginx-0.8.33.tar.gz
cd nginx-0.8.33
./configure --prefix=/usr/local/nginx
安装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
from OpenSSL library. You can either disable the module by using
--without-http-cache option, or install the OpenSSL library into the system,
or build the OpenSSL library statically from the source with nginx by using
--with-http_ssl_module --with-openssl=<path> options.
解决办法:
yum -y install openssl openssl-devel
总结:
yum -y install pcre-devel openssl openssl-devel
./configure --prefix=/usr/local/nginx
make
make install
一切搞定
wget http://nginx.org/download/nginx-0.8.33.tar.gz tar -zxvf nginx-0.8.33.tar.gz
cd nginx-0.8.33
./configure --prefix=/usr/local/nginx
安装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
from OpenSSL library. You can either disable the module by using
--without-http-cache option, or install the OpenSSL library into the system,
or build the OpenSSL library statically from the source with nginx by using
--with-http_ssl_module --with-openssl=<path> options.
解决办法:
yum -y install openssl openssl-devel
总结:
yum -y install pcre-devel openssl openssl-devel
./configure --prefix=/usr/local/nginx
make
make install
一切搞定
相关文章推荐
- 承接游戏UI美术外包【厦门巨游网络科技有限公司】
- 《社交红利》读书总结--如何从微信微博QQ空间等社交网络带走海量用户、流量与收入
- IP分片和TCP分段的区别
- 数字证书原理(ssl, https)
- Internal error. Please report to http://code.google.com/p/android/issues
- Android网络通信技术
- Libevent源码学习(一) 支持多种网络模型原理
- 网络编程问题
- linux0.99网络模块-网络层(发送)
- HTTP协议及工作原理解析
- JavaWeb:报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- 【学习总结】网络
- WEB服务器 - Apache、Nnginx、Lighttpd的比较和择优(转)
- linux0.99网络模块-应用层 or 传输层读写
- When the CRC and TCP checksum disagree
- 2015 ACM-ICPC国际大学生程序设计竞赛北京赛区网络赛 1002 Mission Impossible 6
- 铁蹄踏遍“网络流”!
- 跨域问题解决方案(HttpClient安全跨域 & jsonp跨域)
- TCP缓冲区大小及限制
- TCP的建立和终止