常用公共yum源地址

前端之家收集整理的这篇文章主要介绍了常用公共yum源地址前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

常用的yum源:


1、EPEL yum 源: http://fedoraproject.org/wiki/EPEL

# rpm -ivh

https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm


catepel.repo

  1. [epel]
  2. name=ExtraPackagesforEnterpriseLinux7-$basearch
  3. #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
  4. Metalink=https://mirrors.fedoraproject.org/Metalink?repo=epel-7&arch=$basearch
  5. failovermethod=priority
  6. enabled=1
  7. gpgcheck=1
  8. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
  9. [epel-debuginfo]
  10. name=ExtraPackagesforEnterpriseLinux7-$basearch-Debug
  11. #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
  12. Metalink=https://mirrors.fedoraproject.org/Metalink?repo=epel-debug-7&arch=$basearch
  13. failovermethod=priority
  14. enabled=0
  15. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
  16. gpgcheck=1
  17. [epel-source]
  18. name=ExtraPackagesforEnterpriseLinux7-$basearch-Source
  19. #baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
  20. Metalink=https://mirrors.fedoraproject.org/Metalink?repo=epel-source-7&arch=$basearch
  21. failovermethod=priority
  22. enabled=0
  23. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
  24. gpgcheck=1


2、阿里yum 源 : http://mirrors.aliyun.com/

3、suhu yum 源 http://mirrors.sohu.com/centos/7/os/x86_64/

4、163 yum 源 http://mirrors.163.com/centos/7/


# cat CentOS7-Base-163.repo

  1. #CentOS-Base.repo
  2. #
  3. #ThemirrorsystemusestheconnectingIPaddressoftheclientandthe
  4. #updatestatusofeachmirrortopickmirrorsthatareupdatedtoand
  5. #geographicallyclosetotheclient.YoushouldusethisforCentOSupdates
  6. #unlessyouaremanuallypickingothermirrors.
  7. #
  8. #Ifthemirrorlist=doesnotworkforyou,asafallbackyoucantrythe
  9. #remarkedoutbaseurl=lineinstead.
  10. #
  11. #
  12. [base]
  13. name=CentOS-7-Base-163.com
  14. #mirrorlist=http://mirrorlist.centos.org/?release=7&arch=$basearch&repo=os
  15. baseurl=http://mirrors.163.com/centos/7/os/$basearch/
  16. gpgcheck=1
  17. gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7
  18. #releasedupdates
  19. [updates]
  20. name=CentOS-7-Updates-163.com
  21. #mirrorlist=http://mirrorlist.centos.org/?release=7&arch=$basearch&repo=updates
  22. baseurl=http://mirrors.163.com/centos/7/updates/$basearch/
  23. gpgcheck=1
  24. gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7
  25. #additionalpackagesthatmaybeuseful
  26. [extras]
  27. name=CentOS-7-Extras-163.com
  28. #mirrorlist=http://mirrorlist.centos.org/?release=7&arch=$basearch&repo=extras
  29. baseurl=http://mirrors.163.com/centos/7/extras/$basearch/
  30. gpgcheck=1
  31. gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7
  32. #additionalpackagesthatextendfunctionalityofexistingpackages
  33. [centosplus]
  34. name=CentOS-7-Plus-163.com
  35. baseurl=http://mirrors.163.com/centos/7/centosplus/$basearch/
  36. gpgcheck=1
  37. enabled=0
  38. gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7

猜你在找的Bash相关文章