12.2. 安装 Red Hat Satellite Capsule Server
前提条件
必须在 Red Hat Satellite Server 中注册 Capsule Server,以便 Red Hat Satellite Server 使用产品和订阅:
- 在 Capsule Server 中安装 Red Hat Satellite Server 的 CA 证书:
rpm -Uvh http://satellite.example.com/pub/katello-ca-consumer-latest.noarch.rpm
# rpm -Uvh http://satellite.example.com/pub/katello-ca-consumer-latest.noarch.rpm
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 在您选择的机构名中注册 Capsule Server:
subscription-manager register --org "your organization"
# subscription-manager register --org "your organization"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
这个步骤会在主机中安装 Red Hat Satellite Capsule Server。
过程 12.1. 在使用证书管理的系统中安装 Satellite Capsule Server:
- 列出所有可用订阅,以便为您的系统分配正确的 Red Hat Satellite 和 Red Hat Enterprise Linux 产品:
subscription-manager list --available --all
# subscription-manager list --available --all
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 显示以下信息:Copy to Clipboard Copied! Toggle word wrap Toggle overflow 注意
其中的 SKU 和 Pool ID 会根据与系统版本和产品类型相对应的 Red Hat Satellite 产品类型的不同而有所不同。 - 使用以下命令订阅池:
subscription-manager subscribe --pool=Red_Hat_Satellite_Pool_Id subscription-manager subscribe --pool=Red_Hat_Enterprise_Linux_Pool_Id subscription-manager subscribe --pool=Red_Hat_Enterprise_Linux_Software_Collections_Pool_Id
# subscription-manager subscribe --pool=Red_Hat_Satellite_Pool_Id # subscription-manager subscribe --pool=Red_Hat_Enterprise_Linux_Pool_Id # subscription-manager subscribe --pool=Red_Hat_Enterprise_Linux_Software_Collections_Pool_Id
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 禁用所有存在的存储库:
subscription-manager repos --disable "*"
# subscription-manager repos --disable "*"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 运行
subscription-manager
,启用 Satellite 和 Red Hat Enterprise Linux 存储库。可能需要更改 Red Hat Enterprise Linux 存储库,以便与您所使用的版本相匹配。subscription-manager repos --enable rhel-6-server-rpms \n--enable rhel-server-rhscl-6-rpms \n--enable rhel-6-server-satellite-capsule-6.0-rpms
# subscription-manager repos --enable rhel-6-server-rpms \n--enable rhel-server-rhscl-6-rpms \n--enable rhel-6-server-satellite-capsule-6.0-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 以 root 用户的身份,使用
yum install
命令安装 katello-installer 和 cyrus-sasl-plain 软件包:yum install katello-installer cyrus-sasl-plain
# yum install katello-installer cyrus-sasl-plain
Copy to Clipboard Copied! Toggle word wrap Toggle overflow katello-installer 提供capsule-installer
功能;cyrus-sasl-plain 是 pulp 需要的软件包。
结果:
在您的主机系统中安装了 Satellite Capsule Server。使用前必须对其进行配置。
22921%2C+User+Guide-6.008-10-2014+13%3A34%3A52Red+Hat+Satellite+6Docs+User+Guide报告a bug