2.2. 添加新红帽内容存储库
您的 CCSP 帐户可让您访问所选的红帽存储库,并使其在 Red Hat Update Infrastructure 环境中可用。
流程
导航到 Red Hat Update Infrastructure Management Tool 主页:
[root@rhua ~]# rhui-manager-
按
r选择 管理存储库。 -
在 Repository Management 屏幕中
,按 a 键选择添加新红帽内容存储库。 等待 Red Hat Update Infrastructure Management Tool 确定授权的存储库。这可能需要几分钟时间:
rhui (repo) => a Loading latest entitled products from Red Hat... ... listings loaded Determining undeployed products... ... product list calculatedRed Hat Update Infrastructure Management Tool 提示输入一个选择的方法:
Import Repositories: 1 - All in Certificate 2 - By Product 3 - By Repository Enter value (1-3) or 'b' to abort:-
要添加将多个存储库捆绑在一起,通常将其作为产品的所有次要版本添加到一个步骤
2中,以选择 By Product 方法。或者,您可以使用 By Repository 方法添加特定的存储库。 通过在提示符处键入存储库数,选择要添加哪些存储库。您还可以通过输入
1-5来选择仓库的范围,例如:Enter value (1-620) to toggle selection, 'c' to confirm selections, or '?' for more commands:- 继续,直到检查您要添加的所有存储库。
选择完存储库后,按
c键。Red Hat Update Infrastructure Management Tool 显示用于部署的软件仓库,并提示确认:The following products will be deployed: Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (Debug RPMs) from RHUI Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (RPMs) from RHUI Proceed? (y/n)按
y继续。消息显示每个成功部署:Importing Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (Debug RPMs) from RHUI... Importing product repository Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (Debug RPMs) from RHUI (8.4)... Importing product repository Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (Debug RPMs) from RHUI (8.3)... Importing product repository Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (Debug RPMs) from RHUI (8.2)... Importing product repository Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (Debug RPMs) from RHUI (8.1)... Importing product repository Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (Debug RPMs) from RHUI (8.0)... Importing product repository Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (Debug RPMs) from RHUI (8)... Importing Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (RPMs) from RHUI... Importing product repository Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (RPMs) from RHUI (8.4)... Importing product repository Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (RPMs) from RHUI (8.3)... Importing product repository Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (RPMs) from RHUI (8.2)... Importing product repository Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (RPMs) from RHUI (8.1)... Importing product repository Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (RPMs) from RHUI (8.0)... Importing product repository Red Hat Enterprise Linux 8 for ARM 64 - BaseOS (RPMs) from RHUI (8)... Content will not be downloaded to the newly imported repositories until the next sync is run.
验证
-
在 Repository Management 屏幕中,按
l检查是否安装了正确的存储库。