https://iweb.dl.sourceforge.net/project/pcre/pcre/8.36/pcre-8.36.zip
unzip pcre-8.36.zip
cd pcre-8.36/
./configure --prefix=/usr/local/pcre --enable-utf8 --enable-unicode-properties
make && make install
编译安装openssl
wget -c https://www.openssl.org/source/openssl-1.0.2p.tar.gz
tar xf openssl-1.0.2p.tar.gz
cd openssl-1.0.2p/
./config
make && make install
编译安装zlib
wget http://www.zlib.net/zlib-1.2.11.tar.gz
tar xf zlib-1.2.11.tar.gz
cd zlib-1.2.11/
./configure
make && make install
编译安装nginx
wget http://nginx.org/download/nginx-1.8.1.tar.gz
tar xf nginx-1.8.1.tar.gz -C /usr/local/
cd /usr/local/nginx-1.8.1/
./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-pcre=/root/pcre-8.36 --with-openssl=/root/openssl-1.0.2p --with-zlib=/root/zlib-1.2.11
make && make install
#设置环境变量
vim /etc/profile
export PATH=$PATH:/usr/local/nginx/sbin
source /etc/profile
nginx -t
At the beginning, I was still puzzled. Since I read your article, I have been very impressed. It has provided a lot of innovative ideas for my thesis related to gate.io. Thank u. But I still have some doubts, can you help me? Thanks.