Red Hat Training

A Red Hat training course is available for Red Hat Satellite

4.3.6. Activating the Red Hat Enterprise Linux Repository

The installation of Red Hat Satellite 5.7 requires Red Hat Enterprise Linux repository to be enabled. The following instructions detail how to identify and attach the required subscription, and also how to enable the required repository. Note that at this stage, only the Red Hat Enterprise Linux repository needs to be enabled. The Red Hat Satellite repository needs to be enabled after the Satellite installation is complete.

Procedure 4.21. Activate the Red Hat Enterprise Linux Repository

  1. List all available subscriptions, and identify the Red Hat Satellite 5 subscription.
    The list of available subscriptions may be long, but if you pipe the output into a pager utility, such as less or more, you can read the output one screenful at a time.
    # subscription-manager list --all --available | less
    
    Note the Pool ID as this is required to attach the subscription.
  2. Attach the subscription to the Red Hat Satellite host.
    # subscription-manager attach --pool=pool_id
    The output should be similar to the following:
    Successfully attached a subscription for: Red Hat Satellite
    
  3. Disable all repositories.
    # subscription-manager repos --disable "*"
    
  4. Enable the Red Hat Enterprise Linux 6 repository.
    For ⁠AMD64 and Intel 64
    # subscription-manager repos --enable=rhel-6-server-rpms
    
    For IBM System z
    # subscription-manager repos --enable=rhel-6-for-system-z-rpms