下载安装包
wget https://nginx.org/download/nginx-1.18.0.tar.gz
wget http://downloads.sourceforge.net/project/pcre/pcre/8.35/pcre-8.35.tar.gz
安装依赖包,在线安装的,如果需要离线安装则根据操作系统内核下载相应的rpm,安装c++就会烦到飞起的,还有openssl也是依赖一大堆
yum install gcc-c++
# yum install -y pcre pcre-devel #这个编译安装...