vi /etc/yum.repos.d/epel.repo

12341 [epel]2 name=Extra Packages for Enterprise Linux 7 - $basearch3 #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch4 metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch

取消第三行注释,并注释第四行

12341 [epel]2 name=Extra Packages for Enterprise Linux 7 - $basearch3 baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch4 #metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch

发表评论

电子邮件地址不会被公开。 必填项已用*标注