Nginx测试装

Nginx

yum -y install gcc gcc-c++ make automake autoconf pcre pcre-devel zlib zlib-devel openssl openssl-devel libtool

useradd www -s /sbin/nologin/ -M
cd curl -O http://nginx.org/download/nginx-1.16.1.tar.gz tar xf nginx-1.16.1.tar.gz cd nginx-1.16.1 ./configure --prefix=/application/nginx-1.16.1 \ --user=www \ --group=www \ --with-http_ssl_module \ --with-http_stub_status_module \ --with-http_gzip_static_module \ --with-stream

make && make install  

猜你喜欢

转载自www.cnblogs.com/chenyangqit/p/11697349.html