1、下载CentOS-Base-163.repo, 放入/etc/yum.repos.d/
wget http://mirrors.163.com/.help/CentOS-Base-163.repo -O /etc/yum.repos.d/CentOS-Base-163.repo
2、删除缓存rm -rf /var/cache/yum/*
运行yum makecache生成缓存
转载于:https://blog.51cto.com/bguncle/1135630
1、下载CentOS-Base-163.repo, 放入/etc/yum.repos.d/
wget http://mirrors.163.com/.help/CentOS-Base-163.repo -O /etc/yum.repos.d/CentOS-Base-163.repo
2、删除缓存rm -rf /var/cache/yum/*
运行yum makecache生成缓存
转载于:https://blog.51cto.com/bguncle/1135630