采用版本 nginx-1.9.8.tar.gz
yum -y install pcre-devel
yum -y install openssl openssl-devel
tar –zxvf nginx-1.9.8.tar.gz
cd nginx-1.9.8
./configure
make
make install
安装完成默认在 /usr/local/下的Nginx文件夹
启动 nginx ./usr/local/nginx/sbin/nginx
采用版本 nginx-1.9.8.tar.gz
yum -y install pcre-devel
yum -y install openssl openssl-devel
tar –zxvf nginx-1.9.8.tar.gz
cd nginx-1.9.8
./configure
make
make install
安装完成默认在 /usr/local/下的Nginx文件夹
启动 nginx ./usr/local/nginx/sbin/nginx