YumRepo Error: All mirror URLs are not using ftp, http[s] or file

前端 未结 14 1410
傲寒
傲寒 2020-12-30 03:30

I have set up a centOS 6.5 server using VMWare Workstation 9 on a Windows 8.1 host laptop. When trying to use yum to ins

14条回答
  •  礼貌的吻别
    2020-12-30 04:14

    Check if you are able to ping an externals site such as www.google.com. If not insert lines:

    nameserver 208.67.222.222
    nameserver 208.67.220.220
    

    in /etc/resolve.conf

    Also in /etc/yum.repos.d/CentOS-Base.repo

    uncommented all the mirrorlist and comment out all the baseurl

    If mirrorlist doesn't work for you you can try only the baseurl.

    Hope it helps!!

提交回复
热议问题