nginx1.15.8源码安装

useradd www -s /sbin/nologin -M

yum -y install gcc  pcre-devel openssl-devel

cd /usr/local/src

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

tar xf nginx-1.15.8.tar.gz

cd nginx-1.15.8

./configure --user=www --group=www --with-http_ssl_module --with-http_stub_status_module --prefix=/usr/local/nginx-1.15.8

make && make install 

猜你喜欢

转载自www.cnblogs.com/allmdzz/p/10341952.html