关于centos7下yum安装报错问题解决方法Cannot find a valid baseurl for repo: base/7/x86_64
1、首先备份CentOS-Base.reposudomv/etc/yum.repos.d/CentOS-Base.repo/etc/yum.repos.d/CentOS-Base.repo.bak2.将yum源配置文件/etc/yum.repos.d/CentOS-Base.repo改为清华源,内容如下:#CentOS-Base.repo##Themirrorsystemusestheconnec