具体步骤:(推荐教程:centos教程)1、备份mv etcyum.repos.dCentOS-Base.repo etcyum.repos.dCentOS-Base.repo.backup或mv etcyumrepos.