- /etc/yum.repos.d 存放系统的repo文件
- 国内常用的两个开源镜像
阿里:http://mirrors.aliyun.com/repo/Centos-7.repo
网易:http://mirrors.163.com/.help/CentOS7-Base-163.repo
wget 下载文件到目录下
3.清楚系统的yum缓存并生成新的yum缓存
yum clean all
yum makecache
4.验证
yum repolist
阿里:http://mirrors.aliyun.com/repo/Centos-7.repo
网易:http://mirrors.163.com/.help/CentOS7-Base-163.repo
wget 下载文件到目录下
3.清楚系统的yum缓存并生成新的yum缓存
yum clean all
yum makecache
4.验证
yum repolist
让时间为你证明