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:
- Complete a minimal installation of Red Hat Enterprise Linux 4 or 5 (depending on the version of RHN Satellite that you will install).
- Configure the system so that it can connect to RHN behind the HTTP proxy. Edit the file
/etc/sysconfig/rhn/up2dateas follows:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Register the system to RHN.
- Begin the installation of RHN Satellite with the disconnected option:
./install.pl --disconnected
./install.pl --disconnectedCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Once the installation is complete, you will need to add or modify your settings in the
/etc/rhn/rhn.conffile:Copy to Clipboard Copied! Toggle word wrap Toggle overflow You will also need to update the/etc/rhn/rhn.conffile to include the parent parametersatellite.rhn.redhat.com:server.satellite.rhn_parent = satellite.rhn.redhat.com
server.satellite.rhn_parent = satellite.rhn.redhat.comCopy to Clipboard Copied! Toggle word wrap Toggle overflow Note
Alternatively, if you are using the RHN Satellite web interface, log in as a user withAdministratorprivileges. Browse to. From here, enter the HTTP Proxy settings, and toggle the Disconnected RHN Satellite option. - Restart the Satellite service:
service rhn-satellite restart
service rhn-satellite restartCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Reactivate the Satellite as a connected Satellite:
rhn-satellite-activate --rhn-cert=<path-to-cert>
rhn-satellite-activate --rhn-cert=<path-to-cert>Copy to Clipboard Copied! Toggle word wrap Toggle overflow
You should now have a connected RHN Satellite that will work behind an HTTP proxy.