Nginx安装其他组件安装
来源:互联网 发布:网络作家白天的新文 编辑:程序博客网 时间:2024/06/05 19:36
有时候,我们需要单独安装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
- Nginx安装其他组件安装
- delphi 安装其他开发组件
- centos(其他linux系统类似)中安装nginx
- Linux查看Nginx或者其他程序的安装目录
- ASP.NET 项目安装包制作(二)数据库安装、其他组件的安装
- .Net Web项目安装包制作 (二)数据库安装、其他组件的安装(转)
- .Net Web项目安装包制作 (二)数据库安装、其他组件的安装
- .Net Web项目安装包制作 (二)数据库安装、其他组件的安装
- CentOS 6.5 X64 Nginx PHP-FPM环境安装OCI8组件
- 安装nginx时,常常会因为缺少依赖组件
- 安装Nginx
- nginx安装
- 安装 nginx
- 安装nginx
- 安装 Nginx
- nginx安装
- Nginx安装
- 安装Nginx
- 线程池基础类_ExecutorService(JDK1.8)
- 动态规划练习一 06:登山
- letters live图灵的信,听的一坨翔
- MFC Windows程序设计--位图,区域
- 动态规划练习一 移动路线
- Nginx安装其他组件安装
- 动态规划练习一 三角形最佳路径问题
- cogs 2259. 异化多肽 (生成函数+NTT)
- APICloud框架--sublime使用自定义loader
- [BZOJ4774]修路(斯坦纳树+dp)
- MySQL中操作关系型数据库 SQL
- 输出链表倒数第k个结点
- static关键字 final关键字用法
- HIT 1867 经理的烦恼(树状数组)