CentOS 6.8 配置网易yum源

2017-04-19 14:08 评论 0 条

1.首先备份/etc/yum.repos.d/CentOS-Base.repo

        mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

2.下载对应版本repo文件, 放入/etc/yum.repos.d/(操作前请做好相应备份)

3.运行以下命令生成缓存

        yum clean all
        yum makecache

版权声明:本文著作权归原作者所有,欢迎分享,谢谢支持!
转载请保留注明:CentOS 6.8 配置网易yum源 | DPIP知识库
分类:Centos 标签:

发表评论

您必须 登录 才能发表留言!