Когда я запускаю yum install httpd-devel, я получаю это:

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

Я использую RHEL 7, как я могу решить это?

1 ответ1

1

Вам необходимо зарегистрировать сервер в Red Hat, прежде чем вы сможете использовать репозитории RHEL.

Если у вас есть активная подписка redhat, выполните следующее:

subscription-manager register --username <username> --password <password>

Всё ещё ищете ответ? Посмотрите другие вопросы с метками .