标签:water centos7 创建文件夹 ima 停止 kill ges process blob
https://ftp.pcre.org/pub/pcre/
或
https://github.com/dollarphper/soft/raw/master/nginx/pcre-8.42.tar.gz
b. zlib官网及安装包:
http://zlib.net/
或
https://github.com/dollarphper/soft/blob/master/nginx/zlib-1.2.11.tar.gz
c. openssl官网及安装包:
https://www.openssl.org/source/
或
https://github.com/dollarphper/soft/blob/master/nginx/openssl-1.1.1.tar.gz
d. nginx官网及安装包:
https://nginx.org/en/download.html
或
https://github.com/dollarphper/soft/blob/master/nginx/nginx-1.15.3.tar.gz
mkdir /etc/pcre
mkdir /etc/zlib
mkdir /etc/openssl
b. 安装pcre:
cd /etc/pcre
tar -xzf pcre-8.42.tar.gz
cd pcre-8.42
./configure && make && make install
c. 安装zlib:
cd /etc/zlib
tar -xzf zlib-1.2.11.tar.gz
cd zlib-1.2.11
./configure && make && make install
d. 安装openssl:
cd /etc/openssl
tar -xzf openssl-1.1.1.tar.gz
cd openssl-1.1.1
./config && make && make install
e. 安装nginx:
cd nginx的下载目录
tar -xzf nginx-1.15.3.tar.gz
cd nginx-1.15.3
./configure --with-http_ssl_module --with-http_v2_module --with-pcre=/etc/pcre/pcre-8.42 --with-zlib=/etc/zlib/zlib-1.2.11 --with-openssl=/etc/openssl/openssl-1.1.1
make && make install
/usr/local/nginx/sbin/nginx
b. 停止:
pkill nginx
c. 重启:
/usr/local/nginx/sbin/nginx -s reload
标签:water centos7 创建文件夹 ima 停止 kill ges process blob
原文地址:http://blog.51cto.com/12173069/2175046