1、更新yum
1 | cd /etc/yum.repos.d/ |
2、如果wget命令不存在
1 | /usr/bin/yum install wget |
3、使用阿里源
1 | wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo |
1、更新yum
1 | cd /etc/yum.repos.d/ |
2、如果wget命令不存在
1 | /usr/bin/yum install wget |
3、使用阿里源
1 | wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo |