2.2. 添加新红帽内容存储库


您的 CCSP 帐户可让您访问所选的红帽存储库,并使其在 Red Hat Update Infrastructure 环境中可用。

流程

  1. 导航到 Red Hat Update Infrastructure Management Tool 主页:

    [root@rhua ~]# rhui-manager
  2. r 选择 管理存储库
  3. Repository Management 屏幕中 a 键选择添加新红帽内容存储库
  4. 等待 Red Hat Update Infrastructure Management Tool 确定授权的存储库。这可能需要几分钟时间:

    rhui (repo) => a
    
    Loading latest entitled products from Red Hat...
    ... listings loaded
    Determining undeployed products...
    ... product list calculated
  5. Red 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:
  6. 要添加将多个存储库捆绑在一起,通常将其作为产品的所有次要版本添加到一个步骤 2 中,以选择 By Product 方法。或者,您可以使用 By Repository 方法添加特定的存储库。
  7. 通过在提示符处键入存储库数,选择要添加哪些存储库。您还可以通过输入 1 - 5 来选择仓库的范围,例如:

    Enter value (1-620) to toggle selection, 'c' to confirm selections, or '?' for more commands:
  8. 继续,直到检查您要添加的所有存储库。
  9. 选择完存储库后,按 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)
  10. 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.

验证

  1. Repository Management 屏幕中,按 l 检查是否安装了正确的存储库。
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部