nginx编译安装

1 最小化安装碰到的依赖问题

./configure --prefix=/data/app/nginx-162
>>
./configure: error: the HTTP rewrite module requires the PCRE library.
>>
yum install pcre pcre-devel -y
>>
the HTTP gzip module requires the zlib library.
>>
yum install zlib*

  

 

原文地址:https://www.cnblogs.com/jabbok/p/9032942.html