1 安装gcc
2 安装 perl库
yum install -y pcre pcre-devel
3 安装zlib库
yum install -y zlib zlib-devel
4 先解压,然后到文件夹里面
./configure --prefix=/usr/local/nginx
安装到 /usr/local/nginx 文件夹里面
5 make
make install
标签:pcre,步骤,make,zlib,centos7,Nginx,install,安装 From: https://www.cnblogs.com/beinggurus/p/16782921.html