CentOS6.5 更换 yum源
2017-01-09 10:45
204 查看
1 准备工作
检测是否安装wget下载工具,如果没有安装的话需要后期也可以使用ftp上传工具2 备份/etc/yum.repos.d/CentOS-Base.repo
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
3 下载CentOS6 对应repo文件,放入/etc/yum.repos.d/
方法一:使用wget下载工具(阿里云开源镜像站:http://mirrors.aliyun.com/)wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo[/code] 方法二:Windows下载,然后FTP上传4 运行以下命令生成缓存
yum clean all yum makecache
相关文章推荐
- RHEL6.5系统更换Centos系统YUM源
- Centos6.5更换yum源
- centos6.5更换163的yum源
- CentOS6.5更换yum源
- 超简单将Centos的yum源更换为国内的阿里云源
- redhat6.5 配置使用centos的yum源
- CentOS更换国内yum源(aliyun阿里镜像)
- CentOS6.5配置163的yum源
- 将Centos的yum源更换为国内的阿里云源
- Centos更换yum源,安装ssh server
- centos7 更换yum源为阿里云
- Centos6.5使用光盘作为本地的yum源
- Centos6.5配置阿里云yum源
- 将Centos的yum源更换为阿里云
- CentOS更换yum源的方法
- Centos6.5DRBD加载失败,系统更换yum源(国内163)
- CentOS6.5中修改yum源
- redhat6.5更换为contos 的yum源
- CentOS6.5创建yum源