byourb 2020-01-11
#下载:
wget http://nginx.org/download/nginx-1.8.0.tar.gz
#解压:
tar -zxvf nginx-1.8.0.tar.gz
#安装依赖插件
yum install -y gcc gcc-c++ ncurses-devel perl pcre pcre-devel zlib gzip zlib-devel
#进入目录编译安装
cd nginx-1.8.0
./configure
make && make install