Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have installed a red hat enterprise 6.3 from scratch. The machine is surely connected to internet. When I do yum repolist I got 0.

As far as I understood this happens because I didn't activated my licence.

Suppose that at the moment I don't have that activation code, which repository file I can insert manually in yum.repos.d folder to use yum.

If I am not wrong I might use CENTOS 6.4 ones; are the 2 equivalent and what issue I might experience by using that?

share|improve this question
    
Thank you so much! I'll try immediately! –  Abruzzo Forte e Gentile May 7 '13 at 12:11
add comment

2 Answers

up vote 1 down vote accepted

From here it's stated that you can do it, just follow the recipe guide, changing versions accordingly.

From what I recall, CentOS is a rebuild from source of RHEL, and versions are paired. So if you're on RHEL6.3 your upstream mirror would be the CentOs-6-repos.

share|improve this answer
1  
I agreed. At the end I sorted out and I subscriber to RH web side, activated the licence by calling rhn_activate and after that all online yum repository were available. –  Abruzzo Forte e Gentile May 14 '13 at 16:48
add comment

You can do this, but whether you should or not is another matter.

Red Hat will not support packages from third-party sources, including the CentOS repositories.

If you're expecting this system to be supported by Red Hat, then don't add the CentOS repos and update from them, just register the system to RHN.

If you want to use CentOS repositories, then run CentOS.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.