今天刚安装的新的系统、执行yum相关命令时提示Error: Cannot find a valid baseurl for repo: base、解决办法、编辑resolv.conf文件、vi /etc/resolv.conf、添加nameserver 8.8.8.8、保存退出即可、!