我用 Linux

配置centos7的yum源

2017-05-28  本文已影响35人  stepyu

yum介绍
yellow dog update
主要是为了安装rpm依赖关系的
yum 源
总的配置在
/etc/yum.conf
配置yum源
配置阿里云的源

cd /etc/yum.repos.d ; wget http://mirrors.aliyun.com/repo/Centos-7.repo

如果要暂时使用某个源,可以修改文件.repo的后缀为其它后缀即可
更新yum

yum clean all
yum makecache
yum update
上一篇 下一篇

猜你喜欢

热点阅读