解决CentOS系统Yum出现"Cannot find a valid baseurl for repo"问题 更换下DNS 一、修改配置文件 vi /etc/resolv.conf 二、按格式修改 nameserver 8.8.4.4 nameserver 8.8.8.8