环境:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.7 LTS
Release: 16.04
Codename: xenial
安装包:
pcre-8.45.tar.gz
nginx-1.24.0.tar.gz
开始安装:
安装pcre
tar -xzvf pcre-8.45.tar.gz
cd pcre-8.45
./configure --prefix=/usr/local/pcre
make && make install
安装nginx
tar -xvf nginx-1.24.0.tar.gz
./configure --prefix=/usr/local/nginx --with-pcre=/root/pcre-8.45 --with-http_stub_status_module --with-http_ssl_module
make && make install