<meta charset="utf-8">
nginx下载地址:http://nginx.org/en/download.html
上传到opt/soft
目录
cd /opt/soft
tar -zxvf nginx-1.17.0.tar.gz
cd nginx-1.17.0
yum install -y gcc
yum install -y pcre pcre-devel
yum install -y zlib zlib-devel
yum install -y openssl openssl-devel
./configure --with-http_ssl_module --with-pcre --with-stream --with-stream_ssl_module --with-http_ssl_module --with-http_v2_module --with-threads
image
make && make install
网友评论