来源: 最后更新:22-12-11 12:13:26
有时候,我们需要单独安装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
解决办法:
yum -y install openssl openssl-devel
总结:
yum -y install pcre-devel openssl openssl-devel
./configure –prefix=/usr/local/nginx
make
make install
一切搞定
女孩当小姐,一晚提供4到5次上门服务,2015年被亲人点到不敢赴约
三十而己电视剧剧情(三十而己分集剧情介绍电视猫)1、顾佳是令人艳羡的金字塔上层,她把老公从烟花编程师打造成了“
建成14年未运营,海南环岛高铁线上的和乐站何时能启用 北京优化房地产政策:首付最低20%、利率最低3.5%、公积金最高可贷160万 茅台酒价格震荡(茅台酒价格狂跌) 抗争14年后,他以认罪换取自由……一文读懂阿桑奇事件始末