立即学习:https://edu.csdn.net/course/play/27216/358398?utm_source=blogtoedu
安装步骤
安装依赖包:
yum install gcc-c++
yum -y install pcre pcre-devel 解释nginx正则表达的
yum -y install zlib zlib-devel 依赖压缩的
yum install -y openssl openssl-devel 配ssl证书的时候所依赖
wget http://nginx.org/download/nginx-1.13.11.tar.gz
tar zxvf nginx-1.13.11.tar.gz
./configure --prefix/opt/nginx-1-13
make
make install