久久青草精品A片狠狠,日韩欧美视频一区二区,亚洲国码AV日韩,国产精品黄在

幫助中心 >  技術(shù)知識(shí)庫 >  網(wǎng)站相關(guān) >  建站知識(shí) >  Centos安裝nginx遇到的rewrite和HTTP cache錯(cuò)誤解決辦法

Centos安裝nginx遇到的rewrite和HTTP cache錯(cuò)誤解決辦法

2016-05-05 15:52:05 12019

單獨(dú)在Centos安裝nginx遇到的rewrite和HTTP  cache錯(cuò)誤解決辦法:

報(bào)如下錯(cuò)時(shí)安裝pcre-devel解決問題yum -y install pcre-devel后再輸入 

blob.png

報(bào)如下錯(cuò)誤時(shí)用命令yum install -y zlib-devel

blob.png

錯(cuò)誤提示:./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

總結(jié):

yum -y install pcre-devel openssl openssl-devel

./configure --prefix=/usr/local/nginx

make

make install

一切搞定


提交成功!非常感謝您的反饋,我們會(huì)繼續(xù)努力做到更好!

這條文檔是否有幫助解決問題?

非常抱歉未能幫助到您。為了給您提供更好的服務(wù),我們很需要您進(jìn)一步的反饋信息:

在文檔使用中是否遇到以下問題: