1、下载rpm包:wget http://nginx.org/packages/centos/8/x86_64/RPMS/nginx-1.18.0-1.el8.ngx.x86_64.rpm2、执行升级命令:rpm -Uvh nginx-1.18.0-1.el8.ngx.x86_64.rpm 2.1 安装命令:...