centos 7.1 - error repository

前端 未结 9 2270
失恋的感觉
失恋的感觉 2021-01-31 21:26

Hello I have download the minimal release of CENTOS 7 at this url link download ISO centos 7.x

All work correctly...the PING and the network is OK. I ping to external HO

9条回答
  •  甜味超标
    2021-01-31 21:58

    Uncomment baseurl in this file: /etc/yum.repos.d/CentOS-Base.repo

    #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/

    In this block:

    [base]
    name=CentOS-$releasever - Base
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
    #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
    

    By uncomment, I mean change this: #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/, to this: baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ (remove the #).

提交回复
热议问题