centos6-增加阿里yum源
- 2020 年 11 月 2 日
- 筆記
1.获取阿里的yum源覆盖本地官方yum源
wget -O /etc/yum.repos.d/CentOS-ali.repo //mirrors.aliyun.com/repo/Centos-6.repo
2.清理yum缓存,并生成新的缓存
yum clean all yum makecache
1.获取阿里的yum源覆盖本地官方yum源
wget -O /etc/yum.repos.d/CentOS-ali.repo //mirrors.aliyun.com/repo/Centos-6.repo
2.清理yum缓存,并生成新的缓存
yum clean all yum makecache