注册
一、进入 https://www.redhat.com/wapps/ugc/register.html 进行注册
二、然后通过这个网址进入开发者平台
https://developers.redhat.com/auth/realms/rhd/account/
勾选 Red Hat Developer Program 然后点击保存。
三、去 https://developers.redhat.com/ 下载资源。
RHEL 8:
https://access.redhat.com/downloads/content/479/ver=/rhel—8/8.0/x86_64/product-software
RHEL 2-7:https://access.redhat.com/downloads/content/69/ver=/rhel—7/7.6/x86_64/product-software
激活订阅
下载 RHEL 系统后,我们会发现不能使用 yum
或 dnf
命令进行系统升级或者安装软件,因为我们还没有激活授权,官方的 Yum Repo 是不可用的,这里介绍一下用命令行的方法,因为图形桌面可以通过GUI输入账号密码快速激活。
在命令行中输入:
subscription-manager register --username=用户名 --password=密码 --auto-attach
即可完成激活。
完整反馈如下:
~]# subscription-manager register --username=XXX@mf8.biz \
--password=Passw0rd --auto-attachRegistering \
to: subscription.rhsm.redhat.com:443/subscriptionThe \
system has been registered with ID: af282805-635b-4588-8a51-edeaf57x8aceThe \
registered system name is: www-mf8-bizInstalled Product\
Current Status:Product Name: Red Hat Enterprise Linux for \
x86_64Status: Subscribed