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

相关资源
字节跳动 EB 级湖仓一体分析服务 LAS 的实践与展望
火山引擎湖仓一体分析服务 LAS 是面向湖仓一体架构的 Serverless 数据处理分析服务,提供一站式的海量数据存储计算和交互分析能力,完全兼容 Spark、Presto、Flink 生态,在字节跳动内部有着广泛的应用。本次演讲将介绍 LAS 在字节跳动内部的发展历程和大规模应用实践,同时介绍 LAS 在火山引擎上的发展规划。
相关产品
评论
未登录
看完啦,登录分享一下感受吧~
暂无评论