
Automated RHN Satellite Server Installation
33
Option Usage
--skip-gpg-key-import Do not import Red Hat's GPG key.
--skip-ssl-cert-generation Do not generate the SSL certificates for the Satellite.
--run-updater Do not ask to install needed packages from RHN, if the system
is registered.
4.3. Automated RHN Satellite Server Installation
One option of the RHN Satellite Installation Program allows the user to reference an answer file. This
file contains pre-determined responses to all, or some, of the questions asked by the installer program.
This allows the installer to run without human interaction, and may be useful in instances where
Satellite deployment must be automated. An example answer file can be found in the install/
directory of the CD or ISO, and is titled answers.txt.
Follow the steps below to perform an automated install with an answer file:
1. Follow steps 1 through 5 from Section 4.2, “RHN Satellite Installation Program”.
2. Copy the example answers.txt file to /tmp/answers.txt
cp answers.txt /tmp/answers.txt
3. Edit the file and add your organization's desired options.
4. Once the answer file is ready, use the --answer-file option when starting the installation
process from the command line:
./install.pl --answer-file=/tmp/answers.txt
The RHN Satellite Installation Program then looks for answers in the file. For any option no filled
out in the file, the Installer Program prompts the user for the missing information.
4.4. Installing Satellite behind an HTTP Proxy
Due to the way that RHN Satellite uses the rhn.conf to control its connection settings, there is no
way to add options to that file prior to installation of RHN Satellite. If your network is behind an HTTP
proxy in your organization, you cannot activate the RHN Satellite at installation time. A workaround to
this issue is to first perform a disconnected installation of RHN Satellite, then switch the configuration
to a connected method after installation is completed. The following demonstrates how to create a
connected RHN Satellite installation behind an HTTP proxy:
1. Complete a minimal installation of Red Hat Enterprise Linux 4 or 5 (depending on the version of
RHN Satellite that you will install).
2. Configure the system so that it can connect to RHN behind the HTTP proxy. Edit the file /etc/
sysconfig/rhn/up2date.conf as follows:
enableProxy=1
enableProxyAuth=1
httpProxy=<http-proxy-fqdn>
proxyUser=<proxy-username>
Komentarze do niniejszej Instrukcji