CentOS更改yum源与更新系统 查看系统信息 cat /etc/redhat-release 根据项目系统版本设置更新源继续更新 上一步已经获取了系统版本号,可以根据你的系统版本号,例如centos7还是centos8等,根据下面的信息进行调整配置,确保你已经安装了wget wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-8.repo