安装nginx
2018-12-11 本文已影响0人
我的楼兰0909
切换到nginx文件目录
wget http://nginx.org/download/nginx-1.12.2.tar.gz
tar -zxvf nginx-1.12.2
cd nginx-1.12.2
yum -y install zlib pcre pcre-devel openssl openssl-devel
./configure --prefix=/usr/local/nginx --user=nginx --group=nginx --with-pcre --with-http_ssl_module --with-http_stub_status_module
make && make install