Show Table of Contents
2.3. 订阅所需的权利
在安装红帽所签发的软件包前,需要在 Content Delivery Network 中注册您的系统。在注册完成后,就可以使用您的权利池(entitlement pool)中的权利(entitlement)来启用所需的软件仓库(repository)。
过程 2.5. 使用 Subscription Manager 订阅所需的权利(Entitlement)
- 在 Content Delivery Network 中注册您的系统,在出现提示时输入您的用户门户网站的用户名和密码:
# subscription-manager register
- 找到相关订阅池并记录下它们的 ID。
# subscription-manager list --available
- 使用在上一步获得的权利池 ID 来附加所需的权利。
# subscription-manager attach --pool=pool_id
- 禁用所有存在的软件仓库:
# subscription-manager repos --disable=*
- 当一个系统订阅到带有多个软件仓库的订阅池时,在默认情况下,只有主仓库被启用,其它仓库都没有启用。启用其它仓库:
# subscription-manager repos --enable=repository
- 确认当前安装的软件包已被升级到最新版本:
# yum update

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.