美文网首页我用 Linux
配置centos7的yum源

配置centos7的yum源

作者: stepyu | 来源:发表于2017-05-28 15:44 被阅读35次

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

相关文章

网友评论

    本文标题:配置centos7的yum源

    本文链接:https://www.haomeiwen.com/subject/rsrhfxtx.html