Red Hat Training

A Red Hat training course is available for Red Hat Satellite

2.3. 手動配置 Red Hat Satellite

Satellite Server 有自動的初始化配置機制。katello-installer script 支援覆寫 Satellite Server 元件的多種預設設定之能力。舉例來說,對於有現存 HTTP 代理伺服器的組織來說,就需要將額外的配置選項傳送到 Satellite Server 的安裝程式中。HTTP 代理伺服器的選項請參閱〈節 2.3.1, “手動配置 Red Hat Satellite 使用 HTTP 代理伺服器”〉,自訂 CA 憑證的選項請參閱〈節 2.3.2, “配置 Red Hat Satellite 使用自訂伺服器憑證”〉。
執行安裝 script

root 使用者身份,執行 katello-installer script 手動配置 Red Hat Satellite 伺服器:

# katello-installer
katello-installer 指令可接受額外的配置選項,以調整多種配置。要檢視此指令的完整選項清單:
# katello-installer --help
您可以多次執行此 script,不會有任何問題。

重要

預設的使用者名稱是 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-109-10-2014+14%3A18%3A29Red+Hat+Satellite+6Docs+Install+Guide回報錯誤

2.3.1. 手動配置 Red Hat Satellite 使用 HTTP 代理伺服器

對於使用 HTTP 代理伺服器的網路,應該使用以下 katello-installer 選項,讓 Satellite 伺服器能成功完成配置:
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 代理伺服器的網址。
  • --katello-proxy-port — HTTP 代理伺服器所監聽的連接埠。
  • --katello-proxy-username —(選用)HTTP 代理伺服器用來進行身份認證的使用者名稱。如果您的 HTTP 代理伺服器並不需要使用者名稱,就不需要指定。
  • --katello-proxy-password —(選用)HTTP 代理伺服器用來進行身份認證的密碼。如果您的 HTTP 代理伺服器並不需要密碼,就不需要指定。
14370%2C+Installation+Guide-6.0-109-10-2014+14%3A18%3A29Red+Hat+Satellite+6Docs+Install+Guide回報錯誤