(使用epel的仓库作为yum源安装nginx) rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/epel//epel-release-latest-6.noarch.rpm yum -y install nginx