Red Hat Subscription Manager

(0 comments)

Register and auto attach the subscription.

# subscription-manager register --force --auto-attach
The system with UUID XXXXXXX-ed43-45df-b730-e5b27e365f92 has been unregistered
Username: myaccount
Password:
The system has been registered with ID: XXXXXXXX-a1a2-42fb-a17d-9bf127183503

Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status: Subscribed

Check the enabled repository.

# yum repolist enabled
Loaded plugins: langpacks, product-id, subscription-manager
rhel-7-server-rpms | 3.5 kB 00:00:00
(1/3): rhel-7-server-rpms/7Server/x86_64/group | 774 kB 00:00:05
(2/3): rhel-7-server-rpms/7Server/x86_64/updateinfo | 3.2 MB 00:00:11
(3/3): rhel-7-server-rpms/7Server/x86_64/primary_db | 57 MB 00:01:09
repo id repo name status
rhel-7-server-rpms/7Server/x86_64

Install the "yum-utils" and "createrepo" packages on the registered system.

yum install yum-utils createrepo

Download updates fro RHEL 6.

# reposync --gpgcheck -l --repoid=rhel-6-server-rpms --download_path=/redhat/rhn

Download updates for RHEL 7.

 reposync --gpgcheck -l --repoid=rhel-7-server-rpms --download_path=/redhat/mrepo/rhel7s-x86_64/

Currently unrated

Comments

There are currently no comments

New Comment

required

required (not published)

optional

required