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*

  

 

posted @ 2018-06-21 21:57  jabbok  阅读(116)  评论(0编辑  收藏  举报