Bo's Oracle Station

查看: 4905|回复: 3

EPEL yum 源

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2020-7-23 21:38:44 | 显示全部楼层 |阅读模式
  1. [epel]
  2. name=Extra Packages for Enterprise Linux $releasever - $basearch
  3. #baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/$basearch
  4. metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir
  5. enabled=1
  6. gpgcheck=0

  7. [epel-debuginfo]
  8. name=Extra Packages for Enterprise Linux $releasever - $basearch - Debug
  9. #baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/$basearch/debug
  10. metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-$releasever&arch=$basearch&infra=$infra&content=$contentdir
  11. enabled=0
  12. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
  13. gpgcheck=1

  14. [epel-source]
  15. name=Extra Packages for Enterprise Linux $releasever - $basearch - Source
  16. #baseurl=https://download.fedoraproject.org/pub/epel/$releasever/Everything/SRPMS
  17. metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-$releasever&arch=$basearch&infra=$infra&content=$contentdir
  18. enabled=0
  19. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
  20. gpgcheck=1
复制代码

  1. [epel-playground]
  2. name=Extra Packages for Enterprise Linux $releasever - Playground - $basearch
  3. #baseurl=https://download.fedoraproject.org/pub/epel/playground/$releasever/Everything/$basearch/os
  4. metalink=https://mirrors.fedoraproject.org/metalink?repo=playground-epel$releasever&arch=$basearch&infra=$infra&content=$contentdir
  5. enabled=0
  6. gpgcheck=1
  7. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8

  8. [epel-playground-debuginfo]
  9. name=Extra Packages for Enterprise Linux $releasever - Playground - $basearch - Debug
  10. #baseurl=https://download.fedoraproject.org/pub/epel/playground/$releasever/Everything/$basearch/debug
  11. metalink=https://mirrors.fedoraproject.org/metalink?repo=playground-debug-epel$releasever&arch=$basearch&infra=$infra&content=$contentdir
  12. enabled=0
  13. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
  14. gpgcheck=1

  15. [epel-playground-source]
  16. name=Extra Packages for Enterprise Linux $releasever - Playground - $basearch - Source
  17. #baseurl=https://download.fedoraproject.org/pub/epel/playground/$releasever/Everything/source/tree/
  18. metalink=https://mirrors.fedoraproject.org/metalink?repo=playground-source-epel$releasever&arch=$basearch&infra=$infra&content=$contentdir
  19. enabled=0
  20. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
  21. gpgcheck=1
复制代码

  1. [epel-testing]
  2. name=Extra Packages for Enterprise Linux $releasever - Testing - $basearch
  3. #baseurl=https://download.fedoraproject.org/pub/epel/testing/$releasever/Everything/$basearch
  4. metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-epel$releasever&arch=$basearch&infra=$infra&content=$contentdir
  5. enabled=0
  6. gpgcheck=1
  7. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8

  8. [epel-testing-debuginfo]
  9. name=Extra Packages for Enterprise Linux $releasever - Testing - $basearch - Debug
  10. #baseurl=https://download.fedoraproject.org/pub/epel/testing/$releasever/Everything/$basearch/debug
  11. metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel$releasever&arch=$basearch&infra=$infra&content=$contentdir
  12. enabled=0
  13. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
  14. gpgcheck=1

  15. [epel-testing-source]
  16. name=Extra Packages for Enterprise Linux $releasever - Testing - $basearch - Source
  17. #baseurl=https://download.fedoraproject.org/pub/epel/testing/$releasever/Everything/SRPMS
  18. metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel$releasever&arch=$basearch&infra=$infra&content=$contentdir
  19. enabled=0
  20. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
  21. gpgcheck=1
复制代码




回复

使用道具 举报

3

主题

4

帖子

27

积分

新手上路

Rank: 1

积分
27
发表于 2020-8-11 14:56:07 | 显示全部楼层
把上面三段代码原样复制粘贴到3个repo文件里面,用yum repo list查不到对应的yum仓库,跑脚本安装包的时候,也报错。是哪里配置出问题了吗?
QQ图片20200811155237.png

点评

网络未通,无法解析到网络源  发表于 2020-8-11 19:56
回复 支持 反对

使用道具 举报

1

主题

4

帖子

67

积分

注册会员

Rank: 2

积分
67
发表于 2020-8-13 15:21:01 | 显示全部楼层
网路要先配置网关和dns,确保可以接入外网
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-11-22 08:08 , Processed in 0.062921 second(s), 31 queries .

快速回复 返回顶部 返回列表