1、将/etc/yum.repos.d/epel.repo或 CentOS-Base.rep,注释掉mirrorlist,取消注释baseurl
/etc/yum.repos.d/epel.repo或
mirrorlist
baseurl
2、yum update