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
- 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
ormore
, you can read the output one screenful at a time.# subscription-manager list --all --available | less
Note thePool ID
as this is required to attach the subscription. - 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
- Disable all repositories.
# subscription-manager repos --disable "*"
- 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