Cannot find a valid baseurl for repo: base/7/x86_64

当使用yum源时发生错误,找不到repo:

有可能是Linux刚安装时,还没配置域名服务商

1、打开 vi /etc/resolv.conf,增加 nameserver 8.8.8.8

2、重启网络: service network restart

猜你喜欢

转载自blog.csdn.net/qq_22847203/article/details/89378614