1. 安装wget:
# yum -y install wget
2. 备份原有yum源
3. 添加EPEL源:
# wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-7.repo
4. 清理缓存:
# yum clean all
5. 更新缓存:
# yum makecache
1. 安装wget:
# yum -y install wget
2. 备份原有yum源
3. 添加EPEL源:
# wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-7.repo
4. 清理缓存:
# yum clean all
5. 更新缓存:
# yum makecache
本文标题:CentOS 7 使用阿里云yum源
本文链接:https://www.haomeiwen.com/subject/qlsmwxtx.html
网友评论