Redhat 7.6 訂閱注冊問題流程操作步驟


Redhat Enterprise 需要收費了,需要注冊訂閱才能使用yum 源 然后才能愉快的使用redhat系統。

接下來就介紹下如何在redhat系統中進行訂閱和注冊 以及后續的連接到可用的repo 和啟用repo倉庫。

Redhat 系統安裝好之后 執行 yum 命令就會提示你進行訂閱注冊了。

 1.准備賬戶訂閱注冊

在執行訂閱注冊命令前,需要去redhat 官網注冊登錄你賬戶,然后申請一個免費試用的redhat系統 試用。執行下面的命令就是進行訂閱注冊了。

訂閱注冊命令:

[root@lii ~]# subscription-manager register

This system is already registered. Use --force to override

[root@lii ~]#

   

2.查看可用訂閱注冊服務

訂閱注冊完成之后檢查以下可用的repo服務庫。如果上面訂閱成功后直接查看 repo list 是沒有可用的服務的。需要查看以下你當前注冊賬戶的可用服務授權有哪些 然后根據服務授權pool ID 進行repo 服務的關聯。

檢查可用的訂閱:

[root@lii ~]#

[root@lii ~]# subscription-manager repos --list

This system has no repositories available through subscriptions.

  

[root@lii ~]# subscription-manager list --available

  

+-------------------------------------------+

Available Subscriptions

+-------------------------------------------+

Subscription Name: 60 Day Evaluation of Red Hat OpenShift Container Platform, Self-supported (32 Cores)

Provides: Red Hat CodeReady Linux Builder for x86_64

Red Hat Ansible Engine

Red Hat CodeReady Linux Builder for Power, little endian

Red Hat OpenShift Enterprise Infrastructure

Red Hat Enterprise Linux Fast Datapath

Red Hat JBoss Core Services

JBoss Enterprise Application Platform

Red Hat CloudForms

Red Hat CodeReady Workspaces for OpenShift

OpenShift Pipelines

Red Hat Beta

Red Hat OpenShift Enterprise JBoss EAP add-on

Red Hat OpenShift Container Platform

Red Hat Enterprise Linux High Availability for x86_64

Red Hat Gluster Storage Management Console (for RHEL Server)

Red Hat Build of Jaeger

Red Hat CoreOS

Red Hat OpenShift Enterprise JBoss A-MQ add-on

Red Hat OpenShift Enterprise Client Tools

Red Hat CoreOS Beta

Red Hat Openshift Serverless

Red Hat CloudForms Beta

Oracle Java (for RHEL Server)

Red Hat Software Collections (for RHEL Server)

Red Hat Advanced Cluster Management for Kubernetes

Red Hat Gluster Storage Server for On-premise

Red Hat Storage for Public Cloud (via RHUI)

Red Hat Enterprise Linux Scalable File System (for RHEL Server)

Red Hat OpenShift Enterprise Application Node

Oracle Java (for RHEL Server) - Extended Update Support

Red Hat Enterprise Linux Atomic Host

Red Hat JBoss AMQ Clients

Red Hat Enterprise Linux Fast Datapath Beta for x86_64

Red Hat Software Collections Beta (for RHEL Server)

Red Hat Enterprise Linux Server

OpenShift Tools and Services

Red Hat Enterprise Linux for x86_64

JBoss Enterprise Web Server

Red Hat OpenShift Service Mesh

Red Hat Container Native Virtualization

Red Hat Gluster Storage Nagios Server

Red Hat OpenShift Enterprise JBoss FUSE add-on

SKU: SER0419

Contract: 12237819

Pool ID: 8a85f99b727637b20172a8e7df2a6536

Provides Management: Yes

Available: Unlimited

Suggested: 1

Service Level: Self-Support

Service Type: L1-L3

Subscription Type: Stackable

Starts: 06/12/2020

Ends: 08/11/2020

System Type: Virtual

   

Subscription Name: Red Hat OpenShift Broker/Master Infrastructure (2 Cores)

Provides: dotNET on RHEL Beta (for RHEL Server)

Oracle Java (for RHEL Server)

Red Hat Software Collections (for RHEL Server)

Red Hat CodeReady Linux Builder for x86_64

Red Hat Ansible Engine

Red Hat OpenShift Enterprise Infrastructure

Red Hat Enterprise Linux Fast Datapath

Red Hat CloudForms

Red Hat Enterprise Linux Atomic Host

Red Hat Enterprise Linux Fast Datapath Beta for x86_64

Red Hat Beta

Red Hat Software Collections Beta (for RHEL Server)

Red Hat Enterprise Linux Server

Red Hat Enterprise Linux for x86_64

Red Hat Enterprise Linux for x86_64 - Extended Update Support

Red Hat OpenShift Container Platform

Red Hat OpenShift Service Mesh

Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support

dotNET on RHEL (for RHEL Server)

Red Hat OpenShift Enterprise Client Tools

Red Hat CloudForms Beta

SKU: MCT2741

Contract:

Pool ID: 8a85f99b727637b20172a8e7d3156526

Provides Management: Yes

Available: 176

Suggested: 2

Service Level: Layered

Service Type: L1-L3

Subscription Type: Stackable

Starts: 06/12/2020

Ends: 08/11/2020

System Type: Physical

   

Subscription Name: Red Hat OpenShift Broker/Master Infrastructure (2 Cores)

Provides: dotNET on RHEL Beta (for RHEL Server)

Oracle Java (for RHEL Server)

Red Hat Software Collections (for RHEL Server)

Red Hat CodeReady Linux Builder for x86_64

Red Hat Ansible Engine

Red Hat OpenShift Enterprise Infrastructure

Red Hat Enterprise Linux Fast Datapath

Red Hat CloudForms

Red Hat Enterprise Linux Atomic Host

Red Hat Enterprise Linux Fast Datapath Beta for x86_64

Red Hat Beta

Red Hat Software Collections Beta (for RHEL Server)

Red Hat Enterprise Linux Server

Red Hat Enterprise Linux for x86_64

Red Hat Enterprise Linux for x86_64 - Extended Update Support

Red Hat OpenShift Container Platform

Red Hat OpenShift Service Mesh

Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support

dotNET on RHEL (for RHEL Server)

Red Hat OpenShift Enterprise Client Tools

Red Hat CloudForms Beta

SKU: MCT2741

Contract:

Pool ID: 8a85f99b727637b20172a8e7d370652b

Provides Management: Yes

Available: Unlimited

Suggested: 2

Service Level: Layered

Service Type: L1-L3

Subscription Type: Stackable

Starts: 06/12/2020

Ends: 08/11/2020

System Type: Virtual

   

Subscription Name: 60 Day Evaluation of Red Hat OpenShift Container Platform, Self-supported (32 Cores)

Provides: Red Hat CodeReady Linux Builder for x86_64

Red Hat Ansible Engine

Red Hat CodeReady Linux Builder for Power, little endian

Red Hat OpenShift Enterprise Infrastructure

Red Hat Enterprise Linux Fast Datapath

Red Hat JBoss Core Services

JBoss Enterprise Application Platform

Red Hat CloudForms

Red Hat CodeReady Workspaces for OpenShift

OpenShift Pipelines

Red Hat Beta

Red Hat OpenShift Enterprise JBoss EAP add-on

Red Hat OpenShift Container Platform

Red Hat Enterprise Linux High Availability for x86_64

Red Hat Gluster Storage Management Console (for RHEL Server)

Red Hat Build of Jaeger

Red Hat CoreOS

Red Hat OpenShift Enterprise JBoss A-MQ add-on

Red Hat OpenShift Enterprise Client Tools

Red Hat CoreOS Beta

Red Hat Openshift Serverless

Red Hat CloudForms Beta

Oracle Java (for RHEL Server)

Red Hat Software Collections (for RHEL Server)

Red Hat Advanced Cluster Management for Kubernetes

Red Hat Gluster Storage Server for On-premise

Red Hat Storage for Public Cloud (via RHUI)

Red Hat Enterprise Linux Scalable File System (for RHEL Server)

Red Hat OpenShift Enterprise Application Node

Oracle Java (for RHEL Server) - Extended Update Support

Red Hat Enterprise Linux Atomic Host

Red Hat JBoss AMQ Clients

Red Hat Enterprise Linux Fast Datapath Beta for x86_64

Red Hat Software Collections Beta (for RHEL Server)

Red Hat Enterprise Linux Server

OpenShift Tools and Services

Red Hat Enterprise Linux for x86_64

JBoss Enterprise Web Server

Red Hat OpenShift Service Mesh

Red Hat Container Native Virtualization

Red Hat Gluster Storage Nagios Server

Red Hat OpenShift Enterprise JBoss FUSE add-on

SKU: SER0419

Contract: 12237819

Pool ID: 8a85f99b727637b20172a8e7deca6530

Provides Management: Yes

Available: 16

Suggested: 1

Service Level: Self-Support

Service Type: L1-L3

Subscription Type: Stackable

Starts: 06/12/2020

Ends: 08/11/2020

System Type: Physical

   

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 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: 8a85f99c727637ad0172a0fed72b67d5

Provides Management: No

Available: 16

Suggested: 1

Service Level: Self-Support

Service Type:

Subscription Type: Standard

Starts: 06/10/2020

Ends: 06/10/2021

System Type: Physical

   

[root@lii ~]#

  

3.關聯訂閱注冊服務pool ID

以上內容是我執行查看可用服務命令后給出的可用服務有哪些 授權試用日期的期限。

接下來就是關聯訂閱可用服務。

關聯訂閱服務命令:

[root@lii ~]# subscription-manager attach --pool=8a85f99b727637b20172a8e7df2a6536

Successfully attached a subscription for: 60 Day Evaluation of Red Hat OpenShift Container Platform, Self-supported (32 Cores)

1 local certificate has been deleted.

[root@lii ~]#

[root@lii ~]# subscription-manager attach --pool=8a85f99c727637ad0172a0fed72b67d5

Successfully attached a subscription for: Red Hat Developer Subscription

2 local certificates have been deleted.

[root@lii ~]#

  

4.啟用rpms服務庫

[root@lii ~]# subscription-manager repos --enable rhel-7-server-rpms

Repository 'rhel-7-server-rpms' is enabled for this system.

[root@lii ~]#

[root@lii ~]#

[root@lii ~]# subscription-manager repos --enable rhel-7-server-extras-rpms

Repository 'rhel-7-server-extras-rpms' is enabled for this system.

[root@lii ~]#

[root@lii ~]#

[root@lii ~]# subscription-manager repos --enable rhel-7-server-optional-rpms

Repository 'rhel-7-server-optional-rpms' is enabled for this system.

[root@lii ~]#

[root@lii ~]#

[root@lii ~]# subscription-manager repos --enable rhel-7-server-ose-4.2-rpms

Repository 'rhel-7-server-ose-4.2-rpms' is enabled for this system.

[root@lii ~]#

   

根據自己需要關聯訂閱需要的rpms庫即可。然后就可以愉快的使用redhat enterprise 系統了。

   

   

   

   

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM