nginx在CentOs下安装

安装包下载地址:

系统内下载超链

官网下载地址:

https://nginx.org/en/download.html

安装步骤

(前提)进入到解压后的nginx目录下

第一步: 执行配置脚本:./configure --prefix=/usr/local/nginx --with-http_ssl_module
第二步: 编译:make -j$(nproc)
第三步: 安装:make install