此内容没有您所选择的语言版本。
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.
Note
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
less
ormore
, you can read the output one screenful at a time.subscription-manager list --all --available | less
# subscription-manager list --all --available | less
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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
# subscription-manager attach --pool=pool_id
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The output should be similar to the following:Successfully attached a subscription for: Red Hat Satellite
Successfully attached a subscription for: Red Hat Satellite
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Disable all repositories.
subscription-manager repos --disable "*"
# subscription-manager repos --disable "*"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Enable the Red Hat Enterprise Linux 6 repository.For AMD64 and Intel 64
subscription-manager repos --enable=rhel-6-server-rpms
# subscription-manager repos --enable=rhel-6-server-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For IBM System zsubscription-manager repos --enable=rhel-6-for-system-z-rpms
# subscription-manager repos --enable=rhel-6-for-system-z-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow