参考网址: http://www.mamicode.com/info-detail-1671603.html
1、yum命令安装
yum install epel-release -y
2、更新数据
yum clean all && yum makecache
3、此时即可安装nginx
yum -y install nginx
参考网址: http://www.mamicode.com/info-detail-1671603.html
1、yum命令安装
yum install epel-release -y
2、更新数据
yum clean all && yum makecache
3、此时即可安装nginx
yum -y install nginx
转载于:https://www.cnblogs.com/xiaonq/p/8267413.html