CentOS 7 使用阿里云yum源
2017-12-18 本文已影响0人
阿兹克卡
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