1、备份现有的 YUM 源配置文件sudo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup如果没有直接查询文件find / -name CentOS-Base.repo -type f2、下载并替换为国内源sudo wget -O /etc/yum.repos.d/CentOS-Base.r
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号