CentOS-Base.repo 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # CentOS-Base.repo
  2. #
  3. # The mirror system uses the connecting IP address of the client and the
  4. # update status of each mirror to pick mirrors that are updated to and
  5. # geographically close to the client. You should use this for CentOS updates
  6. # unless you are manually picking other mirrors.
  7. #
  8. # If the mirrorlist= does not work for you, as a fall back you can try the
  9. # remarked out baseurl= line instead.
  10. #
  11. [base]
  12. name=CentOS-$releasever - Base
  13. failovermethod=priority
  14. #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
  15. baseurl=https://mirrors.aliyun.com/centos-vault/centos/$releasever/os/$basearch/
  16. https://mirrors.cloud.tencent.com/centos/$releasever/os/$basearch/
  17. https://vault.centos.org/centos/$releasever/os/$basearch/
  18. gpgcheck=1
  19. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
  20. #released updates
  21. [updates]
  22. name=CentOS-$releasever - Updates
  23. failovermethod=priority
  24. #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
  25. baseurl=https://mirrors.aliyun.com/centos-vault/centos/$releasever/updates/$basearch/
  26. https://mirrors.cloud.tencent.com/centos/$releasever/updates/$basearch/
  27. https://vault.centos.org/centos/$releasever/updates/$basearch/
  28. gpgcheck=1
  29. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
  30. #additional packages that may be useful
  31. [extras]
  32. name=CentOS-$releasever - Extras
  33. failovermethod=priority
  34. #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
  35. baseurl=https://mirrors.aliyun.com/centos-vault/centos/$releasever/extras/$basearch/
  36. https://mirrors.cloud.tencent.com/centos/$releasever/extras/$basearch/
  37. https://vault.centos.org/centos/$releasever/extras/$basearch/
  38. gpgcheck=1
  39. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
  40. #additional packages that extend functionality of existing packages
  41. [centosplus]
  42. name=CentOS-$releasever - Plus
  43. failovermethod=priority
  44. #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
  45. baseurl=https://mirrors.aliyun.com/centos-vault/centos/$releasever/centosplus/$basearch/
  46. https://mirrors.cloud.tencent.com/centos/6.0/centosplus/$basearch/
  47. https://vault.centos.org/centos/$releasever/centosplus/$basearch/
  48. gpgcheck=1
  49. enabled=0
  50. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
  51. #contrib - packages by Centos Users
  52. [contrib]
  53. name=CentOS-$releasever - Contrib
  54. failovermethod=priority
  55. #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib&infra=$infra
  56. baseurl=https://mirrors.aliyun.com/centos-vault/centos/$releasever/contrib/$basearch/
  57. https://mirrors.cloud.tencent.com/centos/$releasever/contrib/$basearch/
  58. https://vault.centos.org/centos/$releasever/contrib/$basearch/
  59. gpgcheck=1
  60. enabled=0
  61. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6