修改yum源 1. 查看系统版本 uname -a cat /etc/redhat-release 2. 修改yum源地址为阿里云 cd /etc/yum.repos.d/ mv CentOS-Base.repo CentOS-Base.repo.bak wget -O CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-8.repo yum makecache