标签:install pcr image 报错 分享 nginx img down .gz
案发现场还原:
wget http://nginx.org/download/nginx-1.8.0.tar.gz cp nginx-1.8.0.tar.gz /usr/local cd /usr/local tar -zxvf nginx-1.8.0.tar.gz
安装Nginx时报错
./configure: error: the HTTP rewrite module requires the PCRE library.
解决办法:
yum -y install openssl openssl-devel
总结:
yum -y install pcre-devel openssl openssl-devel
./configure --prefix=/usr/local/nginx
make
make install
一切搞定
./configure: error: the HTTP rewrite module requires the PCRE library.
标签:install pcr image 报错 分享 nginx img down .gz
原文地址:http://www.cnblogs.com/what-/p/7259008.html