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

相关资源
字节跳动 GPU Scale-up 互联技术白皮书
近日,字节跳动正式发布基于以太网极致优化的 GPU Scale-up 互联技术白皮书,推出 EthLink 的创新网络方案,旨在为 AI 集群提供低延迟、高带宽的高速互联传输,满足 AI 应用对 GPU 之间高效通信的需求。这一举措标志着字节跳动在 AI 基础设施领域的突破,有望推动通用人工智能(AGI)和大语言模型(LLM)的进一步发展。
相关产品
评论
未登录
看完啦,登录分享一下感受吧~
暂无评论