1.下载文件
2.将文件放在/usr/local/nginx下
3.解压 tar zxvf
4.安装
yum -y install pcre-devel
yum -y install openssl openssl-devel
./configure --prefix=/usr/local/nginx --conf-path=/usr/local/nginx/nginx.conf
make
make install
/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf