CentOS下安装Nginx
yum -y install gcc
yum -y install pcre-devel
https://blog.csdn.net/u012643122/article/details/53006833
yum -y install zlib zlib-devel
yum install --setopt=protected_multilib=false zlib zlib-devel
yum -y install openssl openssl-devel
官网稳定版本
http://nginx.org/download/nginx-1.14.0.tar.gz
进入目录之后执行./configure
默认安装在/usr/local/nginx
安装后
make
make install
启动
${nginx}/sbin/nginx
${nginx}/sbin/nginx -s reload
在80端口下可以验证