Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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
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

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

Your Answer


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.