Zack Blog - yum源
type: channel
link: https://blog.zhuang98.top/index.php/tag/yum/
items: Centos7 更换阿里YUM源

Centos7 更换阿里YUM源
type: item
date: 2024-11-11T10:10:00+08:00
description: 使用如下命令首先更换yum源wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo wget -O /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.repo或者使用curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo curl -o /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.repo清理缓存 更新元数据yum clean all yum makecache