展会信息港展会大全

centos7的epel源配置
来源:互联网   发布日期:2015-08-20 06:27:27   浏览:4046次  

导读: CentOS6的请编辑/etc/yum.repos.d/epel.repo输入以下内容 [epel] name=ExtraPackages for EnterpriseLinux6-$basearch #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch mirrorlist=https: //mirrors .fedoraproject.org /metalink ?repo=e...

CentOS6的请编辑/etc/yum.repos.d/epel.repo输入以下内容

[epel]

name=Extra Packages for Enterprise Linux 6 - $$basearch

#baseurl=http://download.fedoraproject.org/pub/epel/6/$$basearch

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$$basearch

failovermethod=priority

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-debuginfo]

name=Extra Packages for Enterprise Linux 6 - $$basearch - Debug

#baseurl=http://download.fedoraproject.org/pub/epel/6/$$basearch/debug

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$$basearch

failovermethod=priority

enabled=0

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

gpgcheck=1

[epel-source]

name=Extra Packages for Enterprise Linux 6 - $$basearch - Source

#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$$basearch

failovermethod=priority

enabled=0

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

gpgcheck=1

然后执行yum clean all

yum makecache即可

centos7的epel源

编辑/etc/yum.repos.d/epel.repo

[epel]

name=Extra Packages for Enterprise Linux 7 - $$basearch

#baseurl=http://download.fedoraproject.org/pub/epel/7/$$basearch

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$$basearch

failovermethod=priority

enabled=1

gpgcheck=0

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

[epel-debuginfo]

name=Extra Packages for Enterprise Linux 7 - $$basearch - Debug

#baseurl=http://download.fedoraproject.org/pub/epel/7/$$basearch/debug

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$$basearch

failovermethod=priority

enabled=0

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

gpgcheck=1

[epel-source]

name=Extra Packages for Enterprise Linux 7 - $$basearch - Source

#baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$$basearch

failovermethod=priority

enabled=0

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

gpgcheck=1


赞助本站

相关热词: centos7 epel 配置 CentOS6 编辑

AiLab云推荐
展开

热门栏目HotCates

Copyright © 2010-2024 AiLab Team. 人工智能实验室 版权所有    关于我们 | 联系我们 | 广告服务 | 公司动态 | 免责声明 | 隐私条款 | 工作机会 | 展会港