centos7 更新yum安装源

系统自带的yum安装源有些软件找不到  这里我们使用阿里云的源

1、加源 wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

2、安装 yum update;yum

更新过程较长,请耐心等待,尤其是开始的时候,我更新刚刚开始的时候几KB一秒,后来更新快了许多,达到了1MB每秒

原文地址:https://www.cnblogs.com/audi-car/p/5847089.html