How To Get One Year Free Red Hat Subscription - CentLinux

Latest

Monday, 15 February 2021

How To Get One Year Free Red Hat Subscription

How To Get One Year Free Red Hat Subscription

Red Hat Enterprise Linux (RHEL) is a commercial Linux distro, In this article, you will learn how to get one year free red hat subscription.

 

Table of Contents:

 

Problem Definition:

Almost every Linux user has encounter the following error message on a Red Hat Enterprise Linux server, while trying to install a software package by using dnf command.

# dnf update -y Updating Subscription Management repositories. Unable to read consumer identity This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Error: There are no enabled repos.

Many Linux users think that, there must be a Red Hat subscription cost and they prefer to switch to other free Linux distro.

Up-till now the most preferred choice of RHEL based users is the CentOS Linux, that was the largest community supported, free and 100% binary compatible fork of RHEL.

As the CentOS Linux is discontinued and the CentOS Linux alternatives are currently on the way such as AlmaLinux (Beta Released) and RockyLinux. The users are now stucked with the Red Hat Enterprise Linux.

Luckily, The RHEL is now offering 1 year free subscription to Individuals for up to 16 Computer systems.

01-acquire-one-year-free-red-hat-subscription-developer-account

In this article, we will show you how simple it is to get one year free Red Hat subscription for your RHEL 8 server.

 

Sign Up for a Red Hat Developer Account:

First of all you are required to create a Red Hat developer account.

You can sign up for a Red Hat Developer account free of cost at their official website.

02-acquire-one-year-free-red-hat-subscription-developer-sign-up

After successful sign up with Red Hat, you should note down your Developer login credentials. You will need these credentials later to register your RHEL server with Red Hat Subscription Manager.

 

Register RHEL 8 server with Red Hat Subscription Manager:

Connect to your RHEL 8 server as root user by using a ssh client.

The necessary commands to interact with Red Hat Subscription Manager are already installed on standard and minimal RHEL 8 operating systems.

Execute the following command at Linux Bash prompt to initiate the Registration process for your RHEL 8 server.

# subscription-manager register Registering to: subscription.rhsm.redhat.com:443/subscription Username: centlinux Password: The system has been registered with ID: 89a88c49-fe24-46d2-9231-2723b03bb7ac The registered system name is: rhel8.centlinux.com

Red Hat Subscription Manager requires the Login credentials. You may use your Red Hat Developer account for this purpose.

After successful registration, execute the following command to acquire the free Red Hat subscription.

# subscription-manager attach --auto Installed Product Current Status: Product Name: Red Hat Enterprise Linux for x86_64 Status: Subscribed

Your system is successfully subscribed for the Red Hat subscription.

Check the details of Red Hat subscriptions on your RHEL 8 server.

# subscription-manager list +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux for x86_64 Product ID: 479 Version: 8.0 Arch: x86_64 Status: Subscribed Status Details: Starts: 02/14/2021 Ends: 02/13/2022

 

Update RHEL 8 Software Packages:

To test your Red Hat subscription, you can execute dnf command and update your Linux server.

Build cache for yum repositories.

# dnf makecache Updating Subscription Management repositories. Red Hat Enterprise Linux 8 for x86_64 - AppStre 244 kB/s | 25 MB 01:44 Red Hat Enterprise Linux 8 for x86_64 - BaseOS 242 kB/s | 27 MB 01:54 Last metadata expiration check: 0:00:12 ago on Sun 14 Feb 2021 12:52:05 PM EST. Metadata cache created.

Update RHEL 8 software packages by using dnf command.

# dnf upgrade -y

01-upgrade-linux-software-packages

Check the updated Linux Kernel and operating system versions.

# uname -r 4.18.0-80.el8.x86_64 # cat /etc/redhat-release Red Hat Enterprise Linux release 8.3 (Ootpa)

 

Conclusion:

You have successfully get one year free red hat subscription for your RHEL 8 server.

No comments:

Post a Comment