- 浏览: 251204 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (298)
- 工作感悟 (6)
- java基础 (23)
- 计算机硬件知识 (1)
- 计算机网络知识 (2)
- Struts (3)
- Srping (4)
- hibernate (0)
- ibatis (0)
- webservice (4)
- Thread (22)
- maven (5)
- ubuntu/linux/centos/redhat (46)
- SSO (1)
- ESB (0)
- 工作流 (0)
- oracle (15)
- 云计算 (1)
- hadoop (1)
- nosql (0)
- mysql (3)
- sqlserver (0)
- jquery (0)
- 分布式 (3)
- 集群 (0)
- 设计模式 (2)
- EJB (0)
- map (0)
- cache (5)
- Niginx+varnish+squid+Ats (14)
- Apache (0)
- 工作/职业规划 (0)
- Scala & Groovy (1)
- English (4)
- 数据结构/算法 (6)
- 开发工具 (5)
- 测试 (2)
- Exception (0)
- 定时器 (3)
- j2ee (2)
- 部署 (1)
- Openssl (1)
- 操作系统 (3)
- kvm (13)
- libvirt (5)
- PostgreSql (5)
- 虚拟化 (3)
- 概念理解 (1)
- virt-manager (1)
- RESTful (3)
- 其它 (4)
- ssh2 (14)
- windows (1)
- 房产 (2)
- svn (1)
- 手机 (1)
- ant (1)
- flume (2)
- sqoop (1)
- fastdfs (5)
- log4j (1)
- SPDY (1)
- mongodb (2)
- MQ (2)
- Mina (1)
- dubbo (4)
- PMP (1)
- Webshpere (2)
- jvm (1)
- Btrace (1)
- zookeeper (7)
- UML (1)
- spring cloud (6)
- spring boot (5)
- storm (0)
- 软件管理 (1)
- elasticsearch (1)
- 协议 (2)
- docker (1)
- 性能 (2)
- 安全 (1)
- 代码规范 (1)
- mqtt (1)
- lombok (1)
- 车联网 (1)
- kafka (1)
最新评论
./configure: error: the HTTP rewrite module requires the PCRE library
- 博客分类:
- Niginx+varnish+squid+Ats
有时候,我们需要单独安装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
一切搞定
发表评论
-
nginx设置反向代理后,页面上的js css文件无法加载
2018-09-06 18:32 2750问题现象: nginx配置反向代理后,网页可以正常访问, ... -
nginx反向代理demo
2017-12-20 13:24 381#user nobody; worker_processes ... -
如何安装nginx_lua_module模块
2014-07-15 16:02 728nginx_lua_module是由淘宝的工程师清无(王晓哲) ... -
nginx不浏览直接下载文件
2014-07-10 14:02 1775当我们使用Nginx时,如果要让一些附件比如txt,pdf,d ... -
nginx的upstream目前支持5种方式的分配
2014-07-07 08:43 511nginx的upstream目前支持5 ... -
Nginx设置proxy_cache缓存
2014-06-27 09:24 527Nginx原先是没有proxy_cache功能的,貌似从0.8 ... -
Varnish配置
2014-06-24 14:31 719# This is a basic VCL configu ... -
ngix缓存设置详解
2014-06-24 14:28 640#user nobody; worker_proces ... -
谈谈varnish,squid,apache,nginx缓存的对比
2014-06-24 14:18 585群里总是有人在问cache用什么,有varnish,squid ... -
nginx启动,重启,关闭命令
2014-06-19 15:19 504停止操作 停止操作是通 ... -
nginx负载均衡配置实例
2013-03-18 15:35 722#user nobody; worker_processes ... -
Nginx配置文件详细说明
2013-03-18 14:06 633在此记录下Nginx服务器ng ... -
linux 安装Nginx-0.8.54
2013-03-18 09:39 711今天安装了nginx,主要参考下面的两篇文章。主要是第一篇,但 ...
相关推荐
状况:./configure: error: the HTTP rewrite module requires the PCRE library. 解决:yum -y install pcre-devel 安装相应的包 2.缺少zlib 状况: ./configure: error: the HTTP gzip module requires the zlib ...
NULL 博文链接:https://jackroomage.iteye.com/blog/1687401
sudo ./configure sudo make sudo make install # 安装zlib库 cd /usr/local/src sudo wget http://zlib.net/zlib-1.2.11.tar.gz sudo tar -zxvf zlib-1.2.11.tar.gz cd zlib-1.2.11 sudo ./configure sudo make ...
我用的是ubuntu18.04安装nginx 一般来说我们安装的nginx文件结构大致是这样的: 1. 所有的配置文件都在/etc/nginx下,并且每个虚拟主机已经安排在了/etc/nginx/sites-available下 2.... 3.... 4.... 5....
用于解决如下错误: ./configure: error: the HTTP rewrite module requires the PCRE library. 安装相关依赖包 1、上传lib解压,然后执行如下命令安装(需要root权限) 2、rpm -Uvh ./*.rpm --nodeps --force
redhat 6.4 安装nginx可能会报错./configure: error: the HTTP image filter module requires the GD library. You can either do not enable the module or install the libraries. 此时需要安装gd gd-devel,需要...
./configure make –j8 make install 执行上述过程中make时可能会报错,错误结果如下 ./include/nasmlib.h:194:1: error: ‘pure’ attribute on function returning ‘void’ [-Werror=attributes] 194 | void pure...
简介 Nginx 是由 Igor Sysoev 为俄罗斯访问量第二的 Rambler.ru 站点开发的,第一个公开版本0.1.0发布于2004年10月4日。...sudo rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.
ding specs from /usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/specs Configured with: /opt/crosstool/crosstool-0.28/build/arm-linux/gcc-3.4.1-glibc-2.3.2/gcc-3.4.1/configure --target=arm-linux --...
centos7中安装带rtmp模块的nginx自动化脚本
公司服务器需要安装新版本的nginx,多次搜索资源后发现了此版本nginx,可以在linux离线安装,含有安装说明和所有依赖,安装完了如果好用请给个好评,谢谢
安装linux编译时报apr错误的解决方法 httpd-2.4.3.tar.gz, apr-util-1.3.10.tar.gz, apr-1.4.2.tar.gz,
(2) ./configure也就是说不能直接在在glibc-2.9这个目录中进行./configure,必须重新建立一个目录后并且进入后再在刚才的目录下进行./configure,例如就是重新建立了一个目录glibc_build 进入这个目录后/roo/programes...
#### ./configure或者./config ( 如果./configure提示错误,则使用./config ) make && make install 4,安装openssl( 如果提示错误,好像 可以不执行此布 ) tar -xvf openssl-1.0.2r.tar.gz && cd openssl-...
apache-http源码编译 1、httpd-2.4.41.tar 2、apr-1.7.0.tar 报错: rm: cannot remove `libtoolT': No such file or..../configure --prefix=/usr/local/apache --with-apr=/usr/local/apr/ --with-apr=/usr/local/apr
ffmpeg 4.2.0和ffmpeg2.6.1,并有txt文档安装说明。.configure。亲测可用
./configure --prefix=/usr/local/nginx --add-module=../nginx-rtmp-module --with-http_ssl_module make && make install 本次默认安装目录为:/root, add-module为下载的nginx-rtmp-module文件路径。 安装时候...
源码编译:亲测有效! 1、httpd-2.4.41.tar 2、apr-1.7.0.tar 报错: rm: cannot remove `libtoolT': No such file ..../configure --prefix=/usr/local/apache --with-apr=/usr/local/apr/ --with-apr=/usr/local/apr
apache-http源码编译 1、httpd-2.4.41.tar 2、apr-1.7.0.tar 报错: rm: cannot remove `libtoolT': No such file or..../configure --prefix=/usr/local/apache --with-apr=/usr/local/apr/ --with-apr=/usr/local/apr
./configure make make install tar zxvf pcre-8.40.tar.gz cd pcre-8.40 ./configure make make install tar zxvf openssl-1.0.2s.tar.gz cd openssl-1.0.2s ./config make make install tar zxvf nginx-...