Redhat Enterpise Linux 설치 후 서버등록 메시지가 나온다.

등록방법은 아래와 같다.

 

[root@localhost ~]# subscription-manager register
Registering to: subscription.rhsm.redhat.com:443/subscription
Username: 계정
Password: 비번
The system has been registered with ID: 5219c57d-11f2-xxxx-xxxx-xxxxxxxxxxxx
The registered system name is: localhost.localdomain

[root@localhost ~]# subscription-manager list
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux for x86_64
Product ID:     479
Version:        8.6
Arch:           x86_64
Status:         Not Subscribed
Status Details: Not supported by a valid subscription.
Starts:         
Ends:           

[root@localhost ~]# subscription-manager attach --auto
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux for x86_64
Status:       Subscribed

[root@localhost ~]# subscription-manager list
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux for x86_64
Product ID:     479
Version:        8.6
Arch:           x86_64
Status:         Subscribed
Status Details: 
Starts:         08/26/2022
Ends:           08/26/2023



PowerShell

 

Repository 갱신 및 Upgrade

[root@localhost ~]# yum repolist
Updating Subscription Management repositories.
repo id                              repo name
rhel-8-for-x86_64-appstream-rpms     Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
rhel-8-for-x86_64-baseos-rpms        Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)

[root@localhost ~]# dnf upgrade
PowerShell

 

 

만약구독기간이 만료되었다면 다시 갱신한다.

Red Hat Principal Customer Support Specialist Daniel Marshburn offered the following guidance on re-registering for a Red Hat Developer Subscription for Individuals after the initial one-year subscription expires or up to 30 days prior to expiration:

  1. Open developers.redhat.com in an Incognito window in Chrome, a Private window in Firefox, or an InPrivate window in Edge.
  2. Use your Red Hat login ID to sign in to the site.
  3. Acknowledge the provided Terms and Conditions.
  4. Log out of all Red Hat sites and close your browser(s).
  5. Wait 15 to 20 minutes, then log in to access.redhat.com/management.
  6. You should now see a new Red Hat Developer for Individuals Subscription on your account.

Troubleshooting

You might need to remove and then re-attach your license after accepting the new terms and conditions for your system to recognize the renewed subscription:

sudo subscription-manager remove --all
sudo subscription-manager unregister
sudo subscription-manager clean
sudo subscription-manager register
sudo subscription-manager refresh
sudo subscription-manager attach --auto
Bash