nginx安装
1.环境安装
yum -y install gcc pcre pcre-devel zlib zlib-pcrel opessl openssl-devel
2.解压nginx
tar -xzvf nginx安装包
3.进入到解压目录下
./configuer --prefix=/usr/local/nginx --with-http_gzip_static_module --with-http_stub_status_module
4.make && make install