Centos7.6编译安装nginx-1.16

wget http://nginx.org/download/nginx-1.16.1.tar.gz

tar -xzvf nginx-1.16.1.tar.gz

cd nginx-1.16.1

yum -y install pcre-devel openssl openssl-devel

./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-stream --with-mail=dynamic

make && make install

你可能感兴趣的:(Centos7.6编译安装nginx-1.16)