[3] Rejestracja subskrypcji RHEL 8
28 stycznia 2021Jeśli chcesz korzystać z Redhat Enterprise Linux, musisz zarejestrować subskrypcję. Po zarejestrowaniu i aktywowaniu subskrypcji możesz łączyć się z siecią Redhat i aktualizować system oraz pobierać z tej sieci pakiety. Subskrypcja jest bezpłatna i ważna na jeden rok.
[1] Możesz się zarejestrować się na stronie Redhat pod poniższym adresem URL. Zarejestruj się lub zaloguj, zapamiętaj nazwę użytkownika i hasło – będą potrzebne w późniejszym czasie tego tutoriala.
https://www.redhat.com/wapps/sso/login.html
[2] Po aktywowaniu subskrypcji w witrynie i zainstalowaniu Redhat Enterprise Linux, zarejestruj swoją subskrypcję, aby połączyć się z siecią Redhat.
# wyświetl aktualny stan Subskrypcji (stan taki jak poniżej to brak aktywacji) # jeśli tak, wróć do punktu [1] i aktywuj najpierw subskrypcję [root@rhel ~]# subscription-manager list +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux for x86_64 Product ID: 479 Version: 8.3 Arch: x86_64 Status: Unknown Status Details: Starts: Ends: # zanim aktywujesz subskrypcję, zarejestruj swój produkt [root@rhel ~]# subscription-manager register Registering to: subscription.rhsm.redhat.com:443/subscription Username: zicherka # nazwa użytkownika podana podczas rejestracji na stronie RedHat Password: # wpisz hasło The system has been registered with ID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX The registered system name is: rhel.zicher.lab # wyświetl status [root@rhel ~]# subscription-manager list --available +-------------------------------------------+ Available Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Developer Subscription Provides: dotNET on RHEL Beta (for RHEL Server) Red Hat CodeReady Linux Builder for x86_64 Red Hat Enterprise Linux for SAP HANA for x86_64 Red Hat Ansible Engine RHEL for SAP HANA - Update Services for SAP Solutions Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support RHEL for SAP HANA - Extended Update Support Red Hat Container Images Beta Red Hat Ansible Automation Platform Red Hat Enterprise Linux Atomic Host Beta Red Hat Container Images Red Hat Enterprise Linux Load Balancer (for RHEL Server) Red Hat Container Development Kit Red Hat Beta Red Hat EUCJP Support (for RHEL Server) - Extended Update Support RHEL for SAP (for IBM Power LE) - Update Services for SAP Solutions Red Hat Enterprise Linux High Availability for x86_64 MRG Realtime Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support dotNET on RHEL (for RHEL Server) Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support Red Hat Enterprise Linux High Availability - Update Services for SAP Solutions Red Hat Enterprise Linux Resilient Storage for x86_64 - Extended Update Support Red Hat Enterprise Linux High Availability for x86_64 - Extended Update Support Oracle Java (for RHEL Server) Red Hat Enterprise Linux Resilient Storage for x86_64 Red Hat Enterprise Linux Server - Update Services for SAP Solutions Red Hat Software Collections (for RHEL Server) Red Hat Enterprise Linux for ARM 64 Red Hat Enterprise Linux High Performance Networking (for RHEL Server) Red Hat Enterprise Linux Scalable File System (for RHEL Server) Red Hat Enterprise Linux for Real Time Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support RHEL for SAP - Update Services for SAP Solutions Oracle Java (for RHEL Server) - Extended Update Support Red Hat Enterprise Linux Atomic Host Red Hat CodeReady Linux Builder for ARM 64 Red Hat Developer Tools (for RHEL Server) Red Hat Software Collections Beta (for RHEL Server) Red Hat Enterprise Linux Server Red Hat Enterprise Linux for SAP Applications for x86_64 Red Hat Developer Tools Beta (for RHEL Server) Red Hat Enterprise Linux for x86_64 Red Hat Enterprise Linux for x86_64 - Extended Update Support RHEL for SAP - Extended Update Support Red Hat Developer Toolset (for RHEL Server) Red Hat Enterprise Linux High Performance Networking (for RHEL Compute Node) Red Hat S-JIS Support (for RHEL Server) - Extended Update Support SKU: RH00798 Contract: Pool ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Provides Management: No Available: 16 Suggested: 1 Service Type: Roles: Service Level: Self-Support Usage: Add-ons: Subscription Type: Standard Starts: 21.01.2021 Ends: 21.01.2022 Entitlement Type: Physical # przypisz właściwa subskrypcję # wpisz [--pool=] z wiersza [Pool ID] znajdującego się powyżej [root@rhel ~]# subscription-manager subscribe --pool=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Successfully attached a subscription for: Red Hat Developer Subscription # wyświetl status subskrypcji (wszystko jest w porządku jeśli [Status: Subscribed]) [root@rhel ~]# subscription-manager list +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux for x86_64 Product ID: 479 Version: 8.3 Arch: x86_64 Status: Subscribed Status Details: Starts: 21.01.2021 Ends: 21.01.2022 # wszystko jest OK, możemy sprawdzić dostępność sieci RedHat [root@rhel ~]# dnf check-update Updating Subscription Management repositories. Ostatnio sprawdzono ważność metadanych: 0:04:24 temu w dniu czw, 28 sty 2021, 17:24:00. NetworkManager.x86_64 1:1.26.0-12.el8_3 rhel-8-for-x86_64-baseos-rpms NetworkManager-libnm.x86_64 1:1.26.0-12.el8_3 rhel-8-for-x86_64-baseos-rpms NetworkManager-team.x86_64 1:1.26.0-12.el8_3 rhel-8-for-x86_64-baseos-rpms NetworkManager-tui.x86_64 1:1.26.0-12.el8_3 rhel-8-for-x86_64-baseos-rpms curl.x86_64 7.61.1-14.el8_3.1 rhel-8-for-x86_64-baseos-rpms freetype.x86_64 2.9.1-4.el8_3.1 rhel-8-for-x86_64-baseos-rpms gnutls.x86_64 3.6.14-7.el8_3 rhel-8-for-x86_64-baseos-rpms iptables.x86_64 1.8.4-15.el8_3.3 rhel-8-for-x86_64-baseos-rpms iptables-ebtables.x86_64 1.8.4-15.el8_3.3 rhel-8-for-x86_64-baseos-rpms iptables-libs.x86_64 1.8.4-15.el8_3.3 rhel-8-for-x86_64-baseos-rpms iwl100-firmware.noarch 39.31.5.1-101.el8_3.1 rhel-8-for-x86_64-baseos-rpms iwl1000-firmware.noarch 1:39.31.5.1-101.el8_3.1 rhel-8-for-x86_64-baseos-rpms iwl105-firmware.noarch 18.168.6.1-101.el8_3.1 rhel-8-for-x86_64-baseos-rpms iwl135-firmware.noarch 18.168.6.1-101.el8_3.1 rhel-8-for-x86_64-baseos-rpms iwl2000-firmware.noarch 18.168.6.1-101.el8_3.1 rhel-8-for-x86_64-baseos-rpms iwl2030-firmware.noarch 18.168.6.1-101.el8_3.1 rhel-8-for-x86_64-baseos-rpms iwl3160-firmware.noarch 1:25.30.13.0-101.el8_3.1 rhel-8-for-x86_64-baseos-rpms iwl5000-firmware.noarch 8.83.5.1_1-101.el8_3.1 rhel-8-for-x86_64-baseos-rpms iwl5150-firmware.noarch 8.24.2.2-101.el8_3.1 rhel-8-for-x86_64-baseos-rpms iwl6000-firmware.noarch 9.221.4.1-101.el8_3.1 rhel-8-for-x86_64-baseos-rpms iwl6000g2a-firmware.noarch 18.168.6.1-101.el8_3.1 rhel-8-for-x86_64-baseos-rpms iwl6050-firmware.noarch 41.28.5.1-101.el8_3.1 rhel-8-for-x86_64-baseos-rpms iwl7260-firmware.noarch 1:25.30.13.0-101.el8_3.1 rhel-8-for-x86_64-baseos-rpms kernel.x86_64 4.18.0-240.10.1.el8_3 rhel-8-for-x86_64-baseos-rpms kernel-core.x86_64 4.18.0-240.10.1.el8_3 rhel-8-for-x86_64-baseos-rpms kernel-modules.x86_64 4.18.0-240.10.1.el8_3 rhel-8-for-x86_64-baseos-rpms kernel-tools.x86_64 4.18.0-240.10.1.el8_3 rhel-8-for-x86_64-baseos-rpms kernel-tools-libs.x86_64 4.18.0-240.10.1.el8_3 rhel-8-for-x86_64-baseos-rpms kexec-tools.x86_64 2.0.20-34.el8_3.1 rhel-8-for-x86_64-baseos-rpms libcurl.x86_64 7.61.1-14.el8_3.1 rhel-8-for-x86_64-baseos-rpms libselinux.x86_64 2.9-4.el8_3 rhel-8-for-x86_64-baseos-rpms libselinux-utils.x86_64 2.9-4.el8_3 rhel-8-for-x86_64-baseos-rpms linux-firmware.noarch 20200619-101.git3890db36.el8_3 rhel-8-for-x86_64-baseos-rpms microcode_ctl.x86_64 4:20200609-2.20201112.1.el8_3 rhel-8-for-x86_64-baseos-rpms openssl.x86_64 1:1.1.1g-12.el8_3 rhel-8-for-x86_64-baseos-rpms openssl-libs.x86_64 1:1.1.1g-12.el8_3 rhel-8-for-x86_64-baseos-rpms python3-libselinux.x86_64 2.9-4.el8_3 rhel-8-for-x86_64-baseos-rpms python3-perf.x86_64 4.18.0-240.10.1.el8_3 rhel-8-for-x86_64-baseos-rpms sudo.x86_64 1.8.29-6.el8_3.1 rhel-8-for-x86_64-baseos-rpms systemd.x86_64 239-41.el8_3.1 rhel-8-for-x86_64-baseos-rpms systemd-libs.x86_64 239-41.el8_3.1 rhel-8-for-x86_64-baseos-rpms systemd-pam.x86_64 239-41.el8_3.1 rhel-8-for-x86_64-baseos-rpms systemd-udev.x86_64 239-41.el8_3.1 rhel-8-for-x86_64-baseos-rpms tuned.noarch 2.14.0-3.el8_3.1 rhel-8-for-x86_64-baseos-rpms tzdata.noarch 2021a-1.el8 rhel-8-for-x86_64-baseos-rpms