The university has a Red Hat Site Subscription entitling all students, faculty, staff, and departments to use most Red Hat software, including Red Hat Enterprise Linux (RHEL). The Division of IT offers RHEL ISOs through TERPware and they can be activated by following the instructions on this page.
Note: The host should be configured with a unique hostname before attempting to register it with Satellite.
# rpm -ivh https://www.rhelops.umd.edu/pub/katello-ca-consumer-latest.noarch.rpm
Retrieving https://www.rhelops.umd.edu/pub/katello-ca-consumer-latest.noarch.rpm
Preparing... ################################# [100%]
Updating / installing...
1:katello-ca-consumer-master.rhelop################################# [100%]
# subscription-manager register --org="umd" --activationkey="fake-21af8-0ee62-f6dff-fake"
The system has been registered with ID: c57127f2-fake-fake-fake-3b970fc8bd12
The registered system name is: rhel7 Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Workstation
Status: Subscribed
# subscription-manager repos
+----------------------------------------------------------+
Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID: rhel-workstation-rhscl-7-rpms
Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Workstation
Repo URL: https://master.rhelops.umd.edu/pulp/repos/umd/Library/daily/content/dist/rhel/workstation/7
/$releasever/$basearch/rhscl/1/os Enabled: 0
Repo ID: rhel-7-workstation-optional-rpms
Repo Name: Red Hat Enterprise Linux 7 Workstation - Optional (RPMs)
Repo URL: https://master.rhelops.umd.edu/pulp/repos/umd/Library/daily/content/dist/rhel/workstation/7
/$releasever/$basearch/optional/os Enabled: 0
Repo ID: rhel-7-workstation-extras-rpms
Repo Name: Red Hat Enterprise Linux 7 Workstation - Extras (RPMs)
Repo URL: https://master.rhelops.umd.edu/pulp/repos/umd/Library/daily/content/dist/rhel/workstation/7
/7Workstation/$basearch/extras/os Enabled: 0
Repo ID: rhel-7-workstation-rpms
Repo Name: Red Hat Enterprise Linux 7 Workstation (RPMs)
Repo URL: https://master.rhelops.umd.edu/pulp/repos/umd/Library/daily/content/dist/rhel/workstation/7
/$releasever/$basearch/os
Enabled: 1
# subscription-manager repos --enable=rhel-7-workstation-optional-rpms
Repository 'rhel-7-workstation-optional-rpms' is enabled for this system.
Set the hostname
Ensure the system has the correct and unique hostname:
Connect to a UMD network
The host must be connected to either a campus network or the UMD VPN. Activation will not work outside of these networks.
Run the curl registration command
Wait for the Enterprise Linux Services (ELS) team to send you the curl registration command. It will look like this:
set -o pipefail && curl --silent --show-error 'https://satellite-dit.umd.edu/register?activation_keys=[activationkey]&download_utility=curl&location_id=2&operatingsystem_id=2&organization_id=3&update_packages=false' --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo0LCJpYXQiOjE3NTQ5MTg0MzAsImp0aSI6Ijc5ODEzZTRmOTI0N2M0ODU0NzRjNjhlNDgxYWZkNmIzNjczMWM1ZTA4MTJjZGUzODI4ZWU3YTU0NDg4YmU2NDEiLCJleHAiOjE3NTQ5MzI4MzAsInNjb3BlIjoicmVnaXN0cmF0aW9uI2dsb2JhbCByZWdpc3RyYXRpb24jaG9zdCJ9.iXZ872kTaWEvRxw6S2nfxsp2mOTsZdyQN3V5T7HiE6U' | bash
Check the subscription status
Confirm that the system is properly registered:
Enable additional repositories (if needed)
List the available repositories:
Enable any specific ones you need. Example for enabling the optional RPMs: