分类
mirror源

CentOS8镜像源

CentOS 8镜像源,架构为 x86_64 ,建议先备份 /etc/yum.repos.d/ 内的文件,然后编辑 /etc/yum.repos.d/ 中的相应文件。

CentOS 8 阿里云源地址
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.crpm.cn/repo/Centos-8-aliyun.repo
#或者
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.crpm.cn/repo/Centos-8-aliyun.repo
#运行
yum makecache 生成缓存

CentOS 8 华为云源地址
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.crpm.cn/repo/Centos-8-huawei.repo
#或者
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.crpm.cn/repo/Centos-8-huawei.repo
#运行
yum makecache 生成缓存

CentOS 8 清华源地址
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.crpm.cn/repo/Centos-8-tuna.repo
#或者
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.crpm.cn/repo/Centos-8-tuna.repo
#运行
yum makecache 生成缓存