有时候,我们需要单独安装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

一切搞定

转载于:https://www.cnblogs.com/huangye-dream/p/3777004.html

ngingx安装错误 ./configure: error: the HTTP rewrite module requires the PCRE library.相关推荐

  1. ngingx安装错误 ./configure: error: the HTTP rewrite module requires the PCRE library.

    前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 1.  ngnix 安装报错: 2. 解决: 安装pcre-devel解决问题,运行命令 yum - ...

  2. unbuntu nginx安装详解 /configure: error: the HTTP rewrite module requires the PCRE library

    1 介绍 官网:https://nginx.org/en/download.html windows版本就不多说了,原理一模一样,下面直接介绍linux 下载: wget https://nginx. ...

  3. ./configure: error: the HTTP rewrite module requires the PCRE library

    报错 ./configure: error: the HTTP rewrite module requires the PCRE library. 解决方法 安装PRCE 官网:https://ftp ...

  4. centos7 安装nginx报错./configure: error: the HTTP rewrite module requires the PCRE library

    安装pcre-devel解决问题 yum -y install pcre-devel

  5. ./configure: error: the HTTP gzip module requires the zlib library.

    完整问题复现如下: ./configure: error: the HTTP gzip module requires the zlib library. You can either disable ...

  6. PhP 常见安装错误configure error xml2-config not found. please check your libxml2 installation

    编译PHP的时候报错: 安装 PHP 5.4.3 报 configure error xml2-config not found. please check your libxml2 installa ...

  7. 安装Nginx时报错 the HTTP cache module requires md5 functions

    安装Nginx时报错 ./configure: error: the HTTP rewrite module requires the PCRE library. 安装pcre-devel解决问题 y ...

  8. wdcp mysql 安装失败_解决WDCP安装错误Install Error:mysql configure err

    解决WDCP安装错误Install Error:mysql configure err 2018-09-22 安装WDCP出现报错: Install Error:mysql configure err ...

  9. zabbix安装MySQL失败_MySQL数据库之zabbix3.x安装出现“configure: error: Not found mysqlclient library”的解决办法...

    本文主要向大家介绍了MySQL数据库之zabbix3.x安装出现"configure: error: Not found mysqlclient library"的解决办法 ,通过 ...

  10. mysql client library_MySQL数据库之zabbix3.x安装出现“configure: error: Not found mysqlclient library”的解决办法...

    本文主要向大家介绍了MySQL数据库之zabbix3.x安装出现"configure: error: Not found mysqlclient library"的解决办法 ,通过 ...

最新文章

  1. OpenCv Mat -类 成员函数
  2. 自定event事件之手动触发(一)
  3. 深入理解javascript原型和闭包(18)——补充:上下文环境和作用域的关系
  4. oracle 分页查询
  5. 怎样成为一名更优秀的程序员?我总结出 7 条建议,希望对你们有帮助!
  6. (28)System Verilog设计UART发送
  7. Linux安装之Linux mint
  8. 通用数据权限管理系统设计
  9. Linux: fd_set用法
  10. 出生在商丘农村的80后的幸福童年
  11. ROM、RAM、DRAM、SRAM、SDRAM区别及特点
  12. Python学习之UnitTest【使用,生成HTML测试报告】
  13. CUDA编程第五章: 共享内存常量内存
  14. Eureka Client 源码解析
  15. 渗透学习心得-暴力破解
  16. leet198.打家劫舍
  17. 结束时间和开始时间不能大于31天
  18. 使用git中rebase遇到的坑二 could not apply xxxx
  19. css:box-shadow实现单边,多边阴影
  20. 搜索引擎(大数据检索)论述[elasticsearch原理相关]

热门文章

  1. 五大列级庄_走进法国波尔多五大一级酒庄
  2. springboot批量更新实体_springboot快速集成swagger
  3. pcb钻孔披锋改善报告_【热点】大族激光:大客户下单积极,公司PCB业务有望延续增势...
  4. 122.买卖股票的最佳时机II
  5. 2020 网易 面经
  6. CS231n李飞飞计算机视觉 迁移学习之物体定位与检测上
  7. 凸优化第四章凸优化问题 4.5几何规划
  8. Spring boot initialization failed for https://start.spring.io
  9. 代码整洁之道读书笔记----第二章---命名--第一节-名副其实
  10. 深度学习笔记(五):LSTM