3.2. 启用 Red Hat Virtualization Manager 存储库
您需要使用 Red Hat Subscription Manager 登录并注册 Manager 机器,附加 Red Hat Virtualization Manager
订阅并启用 Manager 存储库。
流程
使用 Content Delivery Network 注册您的系统,在提示时输入您的客户门户网站用户名和密码:
# subscription-manager register
注意如果您使用 IPv6 网络,请使用 IPv6 转换机制来访问 Content Delivery Network 和 subscription Manager。
查找
Red Hat Virtualization Manager
订阅池并记录池 ID:# subscription-manager list --available
使用池 ID 将订阅附加到系统:
# subscription-manager attach --pool=pool_id
注意查看当前附加的订阅:
# subscription-manager list --consumed
列出所有启用的软件仓库:
# dnf repolist
配置存储库:
# subscription-manager repos \ --disable='*' \ --enable=rhel-8-for-x86_64-baseos-eus-rpms \ --enable=rhel-8-for-x86_64-appstream-eus-rpms \ --enable=rhv-4.4-manager-for-rhel-8-x86_64-rpms \ --enable=fast-datapath-for-rhel-8-x86_64-rpms \ --enable=jb-eap-7.4-for-rhel-8-x86_64-rpms \ --enable=openstack-16.2-cinderlib-for-rhel-8-x86_64-rpms \ --enable=rhceph-4-tools-for-rhel-8-x86_64-rpms \ --enable=rhel-8-for-x86_64-appstream-tus-rpms \ --enable=rhel-8-for-x86_64-baseos-tus-rpms
将 RHEL 版本设置为 8.6:
# subscription-manager release --set=8.6
启用
pki-deps
模块。# dnf module -y enable pki-deps
启用
postgresql
模块的版本 12。# dnf module -y enable postgresql:12
启用
nodejs
模块的版本 14:# dnf module -y enable nodejs:14
同步安装的软件包,将它们更新至最新可用版本。
# dnf distro-sync --nobest
其它资源
有关模块和模块流的详情,请参考安装、管理和删除用户空间组件中的以下部分。