wiki:rhel_subscription_manager
To jest stara wersja strony!
RHEL Subscription Manager
Dodawanie nowego repozytorium za pomocą subscription-manager na przykładzie repozytorium z pakietami devel oraz Ansible 2.9.
# subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms # subscription-manager repos --enable ansible-2.9-for-rhel-8-x86_64-rpms
Dodawanie subskrypcji do zainstalowanego RHEL-a:
# subscription-manager register [podać login oraz hasło do konta na redhat.com] # subscription-manager list --available --all +-------------------------------------------+ Available Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Enterprise Linux Developer Suite [...] Pool ID: [hash md5 Pool ID] [...] # subscription-manager attach --pool=[hash md5 Pool ID]
Konwersja CentOS 7/8 do RHEL 7/8
Ścieżka do pliku convert2rhel.repo powinna zawierać numer wersji: 7, lub 8.
# curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release https://www.redhat.com/security/data/fd431d51.txt # curl --create-dirs -o /etc/rhsm/ca/redhat-uep.pem https://ftp.redhat.com/redhat/convert2rhel/redhat-uep.pem # curl -o /etc/yum.repos.d/convert2rhel.repo https://ftp.redhat.com/redhat/convert2rhel/8/convert2rhel.repo # dnf install convert2rhel # convert2rhel --username [uzytkownik] --password [haslo] --pool [hash md5 Pool ID]
wiki/rhel_subscription_manager.1643470373.txt.gz · ostatnio zmienione: 2022/08/18 11:44 (edycja zewnętrzna)