解决yum不能安装nginx问题 缺少rpm包 rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm 然后再使用yum安装