配置yum源
1.安装wget
yum install -y wget
2.备份/etc/yum.repos.d/CentOS-Base.repo
cd /etc/yum.repos.d/
mv CentOS-Base.repo CentOS-Base.repo.back
3.下载阿里云的CentOS-6.repo文件
wget -O CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
4.重新加载yum
yum clean all
yum makecache
相关推荐
flycappuccino 2020-09-27
87901735 2020-08-19
ningningmingming 2020-07-26
VFCSDN 2020-07-05
87447007 2020-07-04
yudiewenyuan 2020-06-09
wannagonna 2020-06-08
杨友山 2020-06-03
89284553 2020-05-26
lizhengfa 2020-05-02
87447007 2020-06-26
xiemanR 2020-09-21
数据人 2020-10-26
张立军的架构之路 2020-09-28