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 

 

posted on 2019-01-31 14:48  一直用这名字  阅读(1021)  评论(0编辑  收藏  举报

导航