CentOS6跟换yum源
2016-11-02 14:57
218 查看
1、下载repo文件
2、备份并替换系统的repo文件
3、执行yum源更新
代码如下 | |
wget http://mirrors.163.com/.help/CentOS6-Base-163.repo |
代码如下 | |
[root@localhost ~]# cd /etc/yum.repos.d/ [root@localhost ~]# mv CentOS-Base.repo CentOS-Base.repo.bak [root@localhost ~]# mv CentOS6-Base-163.repo CentOS-Base.repo |
代码如下 | |
[root@localhost ~]# yum clean all [root@localhost ~]# yum makecache [root@localhost ~]# yum update |
相关文章推荐
- RHEL6使用Centos6 Yum源
- [zz]配置RHEL6使用CentOS6的yum源
- RedHat Enterprise Linux 6.4 使用 CentOS6 的yum源问题
- centos6更改yum源
- 环境——卸载redhat6.5的yum,安装centos6的yum,配置第三房yum源
- 配置CentOS6的yum源
- 配置CentOS6 yum源
- RedHat6使用centos6的yum源
- CentOS6使用第三方YUM源(EPEL、RPMForge和RPMFusion)
- Centos6如何更改yum源为163
- centos6修改YUM源方法
- 更改Centos6的yum源
- CentOS6阿里云yum源配置
- 让CentOS6 yum源支持更多rpm包的升级(使用第三方软件库EPEL、RPMForge与RPMFusion)
- 让CentOS6 yum源支持更多rpm包的升级(使用第三方软件库EPEL、RPMForge与RPMFusion)记下来。怕忘了。
- Centos6的yum源
- redhat 使用centos6 yum源
- centos6更新yum源为阿里云
- RedHat Enterprise Linux 6.4使用Centos6 的yum源 (32位系统,不挂载光盘使用线上源)
- centOS7和centOS6上通过光盘自动挂载misc来实现yum源的配置