Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
 
解决方法:
vi /etc/resolv.conf
在此文件中最后加入nameserver 8.8.8.8
然后ping www.baidu.com

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-17
  • 2022-01-07
  • 2021-05-24
  • 2021-08-02
  • 2021-09-12
猜你喜欢
  • 2022-12-23
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
  • 2022-12-23
相关资源
相似解决方案