Epel 镜像

开源镜像

简介

EPEL (Extra Packages for Enterprise Linux), 是由 Fedora Special Interest Group 维护的 Enterprise Linux(RHEL、CentOS)中经常用到的包。

下载地址:

配置方法

1,备份

mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup
mv /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/epel-testing.repo.backup

2,更新repo

CentOS 5

wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-5 http://mirrors.ivolces.com/epel/RPM-GPG-KEY-EPEL-5
wget -O /etc/yum.repos.d/epel.repo http://mirrors.ivolces.com/repo/epel-5.repo

CentOS 6

wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 http://mirrors.ivolces.com/epel/RPM-GPG-KEY-EPEL-6
wget -O /etc/yum.repos.d/epel.repo http://mirrors.ivolces.com/repo/epel-6.repo

CentOS 7

wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 http://mirrors.ivolces.com/epel/RPM-GPG-KEY-EPEL-7
wget -O /etc/yum.repos.d/epel.repo http://mirrors.ivolces.com/repo/epel-7.repo

CentOS 8

yum install -y https://mirrors.ivolces.com/epel/epel-release-latest-8.noarch.rpm
wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8 http://mirrors.ivolces.com/epel/RPM-GPG-KEY-EPEL-8
#sed -i 's|^#baseurl=https://download.fedoraproject.org/pub|baseurl=https://mirrors.ivolces.com |' /etc/yum.repos.d/epel*
sed -i 's|^#baseurl=https://download.example/pub|baseurl=https://mirrors.ivolces.com|' /etc/yum.repos.d/epel*
sed -i 's|^metalink|#metalink|' /etc/yum.repos.d/epel*


3,运行 yum makecache 生成缓存

相关链接

0
0
0
0
关于作者

文章

0

获赞

0

收藏

0

相关资源
字节跳动基于 DataLeap 的 DataOps 实践
随着数字化转型的推进以及业务数仓建设不断完善,大数据开发体量及复杂性逐步上升,如何保证数据稳定、正确、持续产出成为数据开发者核心诉求,也成为平台建设面临的挑战之一。本次分享主要介绍字节对于DataOps的理解 以及 DataOps在内部业务如何落地实践。
相关产品
评论
未登录
看完啦,登录分享一下感受吧~
暂无评论