常用yum源
- 阿里云yum源:http://mirrors.aliyun.com/repo/Centos-7.repo
- 小红帽yum源:https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
快速添加一个yum源
如果提示没有 yum-config-manage r命令,执行 yum -y install yum-utils 安装即可,然后再执行一次上面的命令yum-config-manager --add-repo http://mirrors.aliyun.com/repo/Centos-7.repo