redhat8.0 更改yum源
redhat8.0安装完成后不能直接使用自带的yum源来安装软件,会提示我们没有注册,要修改成其他的YUM源,这里教大家更换成阿里云的Centos8的YUM源
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
cd /etc/yum.repos.d/
下载阿里云yum源
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Cent