Bootstrap

Redhat 8更换yum网络源(aliyun)

给Redhat 8更换yum网络源

使用的内核系统信息:
在这里插入图片描述
在这里插入图片描述

红帽8的一个版本

下载源

1、root 用户进入 /etc/yum.repos.d/
2、wget 下载阿里的 centos 8 的yum 源

https://mirrors.aliyun.com/repo/
在这里插入图片描述

保证redhat 8 系统连网的情况下


或者直接用wget -O 将数据写入此文件中

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo

配置源

3、重命名


mv CentOS-
;