Red Hat Training

A Red Hat training course is available for Red Hat Satellite

2.3. 手动配置 Red Hat Satellite

Satellite Server 可自动执行初始设置以准备使用 Satellite Server。katello-installer 脚本支持覆盖 Satellite Server 中不同组件的默认设置。例如,已经使用了 HTTP 代理服务器的机构需向 Satellite Server 安装程序提供其附加配置选项。有关 HTTP 代理服务器选项详情请参阅 第 2.3.1 节 “在 HTTP 代理服务器中手动配置 Red Hat Satellite”,有关定制证书认证(Certificate Authority,CA)的详情请参阅 第 2.3.2 节 “为 Red Hat Satellite 配置自定义服务器证书( Custom Server Certificate)”
运行安装程序脚本

以 root 用户身份运行 katello-installer 脚本,手动配置 Red Hat Satellite

# katello-installer
可为 katello-installer 命令提供额外的配置选项,调整配置的各个方面。运行以下命令查看配置选项的完整列表:
# katello-installer --help
可多次运行这个脚本。

重要

默认的用户名是 admin。默认的机构名是 ACME_Corporation。我们强烈建议您根据具体情况修改这些默认值。请登录 Satellite Server 界面,使用 管理用户管理机构 修改它们。
结果:

成功完成配置脚本时,此时会显示:

# katello-installer
Installing             Done
   [100%] [........................................]
   Success!
   * Katello is running at https://sat6.example.com
       Default credentials are 'admin:changeme'
   * Capsule is running at
https://sat6.example.com:9090
   * To install additional capsule on separate machine continue by running:"

       capsule-certs-generate --capsule-fqdn "$CAPSULE" --certs-tar
"~/$CAPSULE-certs.tar"

   The full log is at /var/log/katello/installer/katello-installer.log

Red Hat Satellite Server 的最初机构和位置名称分别是“Default Organization”和“Default Location”。您可以在 Satellite Server 中使用这些机构,也可以在初始配置完成后创建新的机构和位置。创建新的机构和位置后可删除默认位置和机构。
14370%2C+Installation+Guide-6.0-131-10-2014+12%3A29%3A02Red+Hat+Satellite+6Docs+Install+Guide提交 bug 报告

2.3.1. 在 HTTP 代理服务器中手动配置 Red Hat Satellite

在有 HTTP 代理服务器的网络中硬使用以下 katello-installer 选项以便 Satellite Server 成功完成配置:
katello-installer --katello-proxy-url=http://myproxy.example.com --katello-proxy-port=8080 --katello-proxy-username=proxy_username --katello-proxy-password=proxy_password
其中:
  • --katello-proxy-url - 是 HTTP 代理服务器的 URL。
  • --katello-proxy-port - 是 HTTP 代理服务器监听的端口。
  • --katello-proxy-username - (可选)是 HTTP 代理服务器进行验证所使用的用户名。如果 HTTP 代理服务器不需要用户名,您就不需要指定用户名。
  • --katello-proxy-password - (可选)是 HTTP 代理服务器进行验证所使用的密码。如果 HTTP 代理服务器不需要密码,您就不需要指定密码。
14370%2C+Installation+Guide-6.0-131-10-2014+12%3A29%3A02Red+Hat+Satellite+6Docs+Install+Guide提交 bug 报告