problema ao instalar o apache com o yum

0

Quando eu executo o yum instale o httpd-devel eu recebo isto:

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7Server&arch=x86_64&repo=os&infra=$infra error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Erreur inconnue"


 One of the configured repositories failed (Inconnu),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:


Cannot find a valid baseurl for repo: base/7Server/x86_64

Estou usando o rhel 7 Como posso resolver isso?

    
por BOUKANDOURA Mhamed 16.11.2016 / 14:38

1 resposta

1

Você precisa registrar o servidor com o Red Hat antes de poder usar os repositórios do RHEL.

Se você tiver uma assinatura redhat ativa, faça o seguinte:

subscription-manager register --username <username> --password <password>
    
por 16.11.2016 / 17:53