3.5. 使用 Red Hat Update Infrastructure 管理工具创建客户端配置 RPM
当红帽发布原始授权证书时,它会授予您所请求的存储库的访问权限。当您创建客户端授权证书时,您需要决定如何划分客户端并为每一证书创建一个单独的证书。然后,您可以使用每个证书在相应的客户机镜像上创建单独的 RPM 进行安装。
使用这个流程使用 RHUI 管理工具创建 RPM。
流程
进入 Red Hat Update Infrastructure Management Tool 主页:
rhui-manager
[root@rhua ~]# rhui-managerCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
按
e键选择 创建授权证书和客户端配置 RPM。 -
在 Client Entitlement Management 屏幕中,按
c从授权证书中选择客户端配置 RPM。 输入本地目录的完整路径来保存配置文件:
Full path to local directory in which the client configuration files generated by this tool should be stored (if this directory does not exist, it will be created):
Full path to local directory in which the client configuration files generated by this tool should be stored (if this directory does not exist, it will be created):Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 输入 RPM 的名称。
- 输入配置 RPM 的版本。默认版本为 2.0。
- 输入配置 RPM 的发行。默认发行版本为 1。
- 输入授权客户端访问特定存储库的权利证书的完整路径。
- 输入到授权证书的私钥的完整路径。
- 选择任何未受保护的自定义存储库,以包含在客户端配置中。
-
按
c键确认选择 或?是否有更多命令。
验证
如果成功创建了 RPM,则会显示类似的信息:
Successfully created client configuration RPM. Location: /tmp/clientrpmtest-2.0/build/RPMS/noarch/clientrpmtest-2.0-1.noarch.rpm
Successfully created client configuration RPM. Location: /tmp/clientrpmtest-2.0/build/RPMS/noarch/clientrpmtest-2.0-1.noarch.rpmCopy to Clipboard Copied! Toggle word wrap Toggle overflow