2.3. Package Installation
This section only outlines the package installation procedure for the Red Hat Update Appliance Server and the Content Delivery Server (CDS). Configuration is performed using the Red Hat Update Infrastructure Installer, as described in Chapter 3, Red Hat Update Infrastructure Installer.
Red Hat Update Appliance Server and CDS instances require Red Hat Enterprise Linux installations with the base packages with all repositories disabled except for
rhel-6-server-rpms
. This requirement also means any third-party configurations or software that is not directly necessary for the direct operation of the server cannot be installed. This restriction includes hardening or other non-Red Hat security software.
The Red Hat Update Appliance Server and CDS instances must be installed on separate machines. You must have the Red Hat Update Infrastructure ISO and an appropriate content certificate, provided by Red Hat, in order to install Red Hat Update Infrastructure. Ensure the ISO is accessible from all machines and networks that will need to be connected to Red Hat Update Infrastructure. Instructions for downloading a content certificate are in Section 2.2, “Downloading Entitlements”.
Note
Refer to README file for release notes and recent changes before starting Red Hat Update Infrastructure setup.
Procedure 2.2. Installing the Red Hat Update Infrastructure packages on the Red Hat Update Appliance Server
- Download the ISO from the Customer Portal.
- Change the hostname of the Red Hat Update Appliance Server and all CDS instances to a resolvable fully qualified domain name (FQDN).Change the hostname in your current session:
# hostname new_hostname
To make the hostname change persistent, edit/etc/sysconfig/network
using your preferred text editor:NETWORKING=yes HOSTNAME=new_hostname ...
Important
If the hostname is unset and its value is reported aslocalhost.localdomain
orlocalhost
, you will not be able to proceed. In this guide, the example hostname for Red Hat Update Appliance is rhua.example.com, and the example hostname for the first CDS instance is cds01.example.com. - Mount the ISO:
# mkdir -p /mnt/example # mount -o loop <ISO> /mnt/example
- Change directory to /mnt/example.
# cd /mnt/example
- On the Red Hat Update Appliance Server, run
install_RHUA.sh
to install Red Hat Update Appliance packages.# ./install_RHUA.sh
Procedure 2.3. Installing the Red Hat Update Infrastructure packages on the Content Delivery Server (CDS)
- On the CDS instance, follow steps 1 to 4 in the previous procedure.
- Run the following commands to register the system to Red Hat Subscription Manager and give the system a basic Red Hat Enterprise Linux entitlement.
- Register the system to Red Hat Subscription Manager:
# subscription-manager register
- Attach the system:
# subscription-manager attach --auto
- Disable all existing repositories:
# subscription-manager repos --disable=*
- Enable the Red Hat Enterprise Linux repository:
# subscription-manager repos --enable=rhel-6-server-rpms
- Run
install_CDS.sh
to install CDS packages.# ./install_CDS.sh