nginx 1.16.1离线安装包,rpm格式,适用于centos,安装方法:
1. 解压文件:tar xvfz nginx_1.16.1_rpm.tar.gz -C ./nginx1.16.1
2. 进入目录:cd ./nginx1.16.1
3. 本地安装:yum localinstall -y *.rpm
4. 启动服务:systemctl start nginx 或 service nginx start
5. 开机自启:systemctl enable nginx 或 chkconfig nginx on
1