Linux篇-如何注册Redhat 8

$ subscription-manager register --auto-attach --username=**** --password=*****


加入Redhat linux开发者社区 打开官网https://developers.redhat.com/点击login登录,然后点击“REGISTER”进行注册即可,此处会有一个邮箱验证,我使用了鹅厂邮箱,完全没有问题。


1. 安装系统 安装系统的方法这里不细说,如果你连系统都还不会安装,那就可以暂时离开,然后学习如何安装系统吧,如果你需要redhatlinux8的系统镜像,我放在百度云盘了,请自行下载。 https://pan.baidu.com/s/1UK8iFUX1xVTR81oJHzQkzg 提取码:743z
2. 登录你的系统,切换到root权限并使用root shell $ su root $ sudo bash
3. 在Red Hat Subscription Management注册系统用户名和密码就是您注册redhat 开发者社区时的用户名和密码。 $ subscription-manager register --auto-attach --username=xxxx --password=xxxx
4. 看到下面的形式则为注册成功提示,这里的我的用户名和密码以及注册ID均使用*****号代替。

# subscription-manager register --auto-attach --username=*** --password=*** 正在注册到:subscription.rhsm.redhat.com:443/subscription 这个系统已使用 ID ********************* 进行了注册 注册的系统名是:localhost.localdomain 已安装的产品的当前状态 产品名称:Red Hat Enterprise Linux for x86_64 状态:已订阅


5. 使用yum repolist检查 ,这里会更新系统程序 # yum repolistUpdating Subscription Management repositories.Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 1.5 MB/s | 13 MB 00:09 Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 1.3 MB/s | 12 MB 00:09 上次元数据过期检查:0:00:03 前,执行于 2019年11月26日 星期二 10时56分54秒。仓库标识 仓库名称 状态rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 8,232rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 3,312

原文地址:https://www.cnblogs.com/wzihan/p/12992454.html