4.2.5. 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.
Repeat this procedure on the Satellite host and the Managed DB host.
Procedure 4.12. 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
more, you can read the output one screenful at a time.
# subscription-manager list --all --available | lessNote the
Pool IDas this is required to attach the subscription.
- Attach the subscription to the Red Hat Satellite host.
# subscription-manager attach --pool=pool_idThe 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-rpmsFor IBM System z
# subscription-manager repos --enable=rhel-6-for-system-z-rpms