CentOS 7 (7.1.1503) 163 Source

Source: Internet
Author: User

CentOS 7 (7.1.1503) 163 Source

The 163 source of centos 7 was not found for a long time on the Internet, most of which only had 6 configurations. Write a code that can be used in 7. Pay attention to the next version. Replace it with your own version.

[Html] view plaincopyprint?
  1. [Base]
  2. Name = CentOS-$ releasever-Base-163.com
  3. # Items list = http://mirrorlist.centos.org /? Release = $ releasever & arch = $ basearch & repo = OS
  4. Base url = http://mirrors.163.com/centos/7.1.1503/updates/x86_64
  5. Gpgcheck = 0
  6. Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
  7. # Releasedupdates
  8. [Updates]
  9. Name = CentOS-$ releasever-Updates-163.com
  10. # Items list = http://mirrorlist.centos.org /? Release = $ releasever & arch = $ basearch & repo = updates
  11. Base url = http://mirrors.163.com/centos/7.1.1503/updates/x86_64
  12. Gpgcheck = 0
  13. Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
  14. # Packagesused/producedinthebuildbutnotreleased
  15. [Addons]
  16. Name = CentOS-$ releasever-Addons-163.com
  17. # Items list = http://mirrorlist.centos.org /? Release = $ releasever & arch = $ basearch & repo = addons
  18. Base url = http://mirrors.163.com/centos/7.1.1503/updates/x86_64
  19. Gpgcheck = 0
  20. Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
  21. # Additionalpackagesthatmaybeuseful
  22. [Extras]
  23. Name = CentOS-$ releasever-Extras-163.com
  24. # Items list = http://mirrorlist.centos.org /? Release = $ releasever & arch = $ basearch & repo = extras
  25. Base url = http://mirrors.163.com/centos/7.1.1503/updates/x86_64
  26. Gpgcheck = 0
  27. Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
  28. # Additionalpackagesthatextendfunctionalityofexistingpackages
  29. [Centosplus]
  30. Name = CentOS-$ releasever-Plus-163.com
  31. # Items list = http://mirrorlist.centos.org /? Release = $ releasever & arch = $ basearch & repo = centosplus
  32. Base url = http://mirrors.163.com/centos/7.1.1503/updates/x86_64
  33. Gpgcheck = 0
  34. Enabled = 0
  35. Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
  36. # Contrib-packagesbyCentosUsers
  37. [Contrib]
  38. Name = CentOS-$ releasever-Contrib-163.com
  39. # Items list = http://mirrorlist.centos.org /? Release = $ releasever & arch = $ basearch & repo = contrib
  40. Base url = http://mirrors.163.com/centos/7.1.1503/updates/x86_64
  41. Gpgcheck = 0
  42. Enabled = 0
  43. Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

The file to be modified is in this path:/etc/yum. repos. d

Remember to back up the original file.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.