美文网首页Linux
Centos7-配置阿里云yum源和epel源

Centos7-配置阿里云yum源和epel源

作者: 条子在洗澡 | 来源:发表于2019-03-28 16:45 被阅读66次
名称 版本
系统 CentOS Linux release 7.6.1810 (Core)
#配置阿里云yum源
yum install -y wget
cd  /etc/yum.repos.d/
mv  CentOS-Base.repo CentOS-Base.repo.bak
wget  http://mirrors.aliyun.com/repo/Centos-7.repo
mv Centos-7.repo CentOS-Base.repo
#配置epel源
wget https://mirrors.aliyun.com/repo/epel-7.repo
#清除缓存并更新
yum clean all
yum makecache
yum update

相关文章

网友评论

    本文标题:Centos7-配置阿里云yum源和epel源

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