Rhel Repo

I have listd some redhat repos here so that if you have newly built redhat server and want to install something then you need not worry about creating a yum repo or look for dvd.

just create a file under /etc/yum.repos.d/redhat.repo

then start using yum

 

http://velocity-lab.net:43396/rhel6.5/

http://velocity-lab.net:43396/rhel6.5-i386

 

If you want to add these repo in your redhat server then follow:-

  • make sure you have internet connection
  • [root@httpserver ~]#curl -I www.google.com
  • HTTP/1.1 200 OK
    Date: Wed, 25 Mar 2015 04:24:22 GMT
    Expires: -1
    Cache-Control: private, max-age=0
    Content-Type: text/html; charset=ISO-8859-1
    Set-Cookie: PREF=ID=be53ce902bb50561:FF=0:TM=1427257462:LM=1427257462:S=3VwZ15ygMEMwhInc; expires=Fri, 24-Mar-2017 04:24:22 GMT; path=/; domain=.google.com
    Set-Cookie: NID=67=v-66kcAPFMLHJsb6K-lK7j3tLkIc2stWQ7DtXKY_A0ilIBa4SxuOIp0syKaE6NI_3Lv5UvlRsAE2gr3BSEE1p3Mk0XXtUpfC6y7hsf0yiDyKczVbanChv12K2Yy18MLe; expires=Thu, 24-Sep-2015 04:24:22 GMT; path=/; domain=.google.com; HttpOnly
    P3P: CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info."
    Server: gws
    X-XSS-Protection: 1; mode=block
    X-Frame-Options: SAMEORIGIN
    Alternate-Protocol: 80:quic,p=0.5
    Transfer-Encoding: chunked
    Accept-Ranges: none
    Vary: Accept-Encoding

If you see this then you are good else fix it

 

  • find out if you have 32 bit or 64 bit redhat
  • [root@httpserver ~]#  uname -r
    2.6.32-431.el6.x86_64
    this one is 64 bit so use 64 bit repo
  • now create a .repo file
  • [root@httpserver ~]#vi  /etc/yum.repos.d/base.repo
    [base]
    name=rhel6.5-repo
    baseurl=http://velocity-lab.net:43396/rhel6.5/
    enabled=1
    gpgcheck=0
  • [root@httpserver ~]#yum clean all
  • [root@httpserver ~]#yum repolist

This is it.

Leave comments

Leave a Reply