1)Nginx官网下载地址
http://nginx.org/en/download.html
2)下载在/usr/local目录并解压
cd nginx-1.16.1
3)编译并安装
yum -y install pcre-devel openssl openssl-devel
./configure --prefix=/usr/local/nginx
make
make install
参考:https://blog.csdn.net/hfsu0419/article/details/7190152/
原文地址:https://www.cnblogs.com/zplogo/p/11380656.html
时间: 2024-10-11 13:52:23