Advertisement
rakotomandimby

Untitled

Sep 9th, 2014
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. # cat /etc/yum.repos.d/CentOS-Base.repo
  2. # CentOS-Base.repo
  3. #
  4. # The mirror system uses the connecting IP address of the client and the
  5. # update status of each mirror to pick mirrors that are updated to and
  6. # geographically close to the client. You should use this for CentOS updates
  7. # unless you are manually picking other mirrors.
  8. #
  9. # If the mirrorlist= does not work for you, as a fall back you can try the
  10. # remarked out baseurl= line instead.
  11. #
  12. #
  13.  
  14. [base]
  15. name=CentOS-$releasever - Base
  16. mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
  17. #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
  18. gpgcheck=1
  19. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
  20.  
  21. #released updates
  22. [updates]
  23. name=CentOS-$releasever - Updates
  24. mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
  25. #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
  26. gpgcheck=1
  27. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
  28.  
  29. #additional packages that may be useful
  30. [extras]
  31. name=CentOS-$releasever - Extras
  32. mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
  33. #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
  34. gpgcheck=1
  35. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
  36.  
  37. #additional packages that extend functionality of existing packages
  38. [centosplus]
  39. name=CentOS-$releasever - Plus
  40. mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
  41. #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
  42. gpgcheck=1
  43. enabled=0
  44. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
  45.  
  46. #contrib - packages by Centos Users
  47. [contrib]
  48. name=CentOS-$releasever - Contrib
  49. mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
  50. #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
  51. gpgcheck=1
  52. enabled=0
  53. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement