操作系统:Centos 7.2
nginx离线安装依赖pcre, perl , zlib 三个库
安装pcre
tar –zxvf pcre-8.39.tar.gz
cd pcre-8.39
./Configure
make
make test
make install
安装perl
tar –zxvf perl-5.24.0.tar.gz
cd perl-5.24.0
./Configure -des -Dprefix=/usr/local/perl
make
make test
make install
安装zlib
tar –zxvf zlib-1.2.11.tar.gz
cd zlib-1.2.11
make
make test
make install
安装nginx
tar -zxvf nginx-1.10.2-linux.tar.gz
cd nginx-1.10.2
./configure
make
make test
make install
网友评论