更换阿里云的yum源(备份)
2018-03-24 16:45
162 查看
完全参考http://mirrors.aliyun.com/help/centos?spm=5176.bbsr150321.0.0.d6ykiD
1、备份mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup2、下载新的CentOS-Base.repo 到/etc/yum.repos.d/
1、备份mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup2、下载新的CentOS-Base.repo 到/etc/yum.repos.d/
CentOS 5
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repoCentOS
6wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repoCentOS
7wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 3、之后运行yum makecache生成缓存相关文章推荐
- 将Centos的yum源更换为国内的阿里云源
- 利用阿里云提供的镜像快速更换本地的yum源
- 更换本地的yum源为阿里云提供的镜像
- 超简单将Centos的yum源更换为国内的阿里云源
- 将Centos的yum源更换为国内的阿里云源
- 将Centos的yum源更换为国内的阿里云源
- centos 6.6中的yum源更换成国内的阿里云yum源
- 将Centos的yum源更换为国内的阿里云源
- Centos7更换阿里云yum源
- Centos的yum源更换为国内的阿里云源
- 将Centos的yum源更换为国内的阿里云源
- 更换本地的yum源为阿里云提供的镜像
- 利用阿里云提供的镜像快速更换本地的yum源
- 将Centos的yum源更换为国内的阿里云源
- 将Centos的yum源更换为国内的阿里云源
- Centos的yum源更换为国内的阿里云源
- 将Centos的yum源更换为国内的阿里云源
- Centos的yum源更换为阿里云源
- 为CentOS更换阿里云的yum源
- 将Centos的yum源更换为国内的阿里云源