首先去https://developers.redhat.com 注册一个开发者账号,注册完毕后使用注册的账号和密码执行下面的命令进行系统注册。
subscription-manager register --username <username> --password <password> --auto-attach
执行完出现下面的提示:
Registering to: subscription.rhsm.redhat.com:443/subscription
The system has been registered with ID: xxxxxxxxxxxxxxx
The registered system name is: localhost.localdomain
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status: Subscribed
查看注册状态:
subscription-manager list
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
Product Name: Red Hat Enterprise Linux for x86_64
Product ID: 479
Version: 8.0
Arch: x86_64
Status: Subscribed
Status Details:
Starts: 07/11/2018
Ends: 07/11/2019
执行 yum update 或者是 dnf update进行更新

本文介绍了如何在Red Hat Enterprise Linux (RHEL)上注册开发者账号,并通过执行相关命令进行系统注册和更新。首先在Red Hat开发者网站注册账号,然后使用账号密码执行系统注册。注册成功后,可以通过`yum update`或`dnf update`检查注册状态并更新系统。
最低0.47元/天 解锁文章
3203

被折叠的 条评论
为什么被折叠?



