RHEL 8 is based on Fedora 28. It includes newer software packages such as
- Linux kernel 4.18,
- Python 3.6, PHP7.2, Apache 2.4.35, Nginx 1.14
- MariaDB 10.3, MySQL 8.0, PostgreSQL 10, PostgreSQL 9.6, and Redis 4.0
- OpenSSL 1.1.1 and TLS 1.3 are both supported.
- GNOME Shell has been rebased to version 3.28, using Wayland the default display server. X.org server is available as well.
- nftables replaces iptables. The firewalld daemon now uses nftables as its default backend.
How to Download RHEL8 ISO File
You probably have heard that Red Hat products cost money, but you can use RHEL 8 for free via the Red Hat Developer Program , which costs $0 to join. It allows individual developer-use of RHEL. Integration, test and production environments will require a paid subscription.
After your developer account is created, you need to go to https://www.redhat.com/wapps/sso/login.html to complete your profile.
Then go to https://developers.redhat.com/rhel8 to download Red Hat Enterprise Linux 8 ISO file. Once it’s downloaded, you can create a bootable USB with dd command like below on a Linux desktop OS. /dev/sdX is the device name of your USB drive, which can can be obtained by running command sudo parted -l.
sudo dd if=rhel-8.0-x86_64-dvd.iso of=/dev/sdX status=progress
On Windows, you can create a bootable USB with Rufus. If you like to install RHEL 8 in VirtualBox, there’s no need to create bootable USB drive.
Installing RHEL 8
On the next screen, you need to complete items marked with a yellow triangle icon. For example, I need to configure Installation Destination.
Since this is installed in Virtualbox, I don’t want to set up a custom partition table. So I just click Done without making any changes.
In software selection, I can choose Workstation as the base environment so that I will have a GUI.
In system purpose section, I can choose Development/Test for the usage. This is required if you want to use RHEL 8 for free. Leave other options untouched.
After saving the configurations, click Begin Installation button. While the OS is being installed, you need to set a root password and create a user account.
The installation is pretty fast. After 8 minutes, my RHEL 8 is installed. Before clicking the Reboot button, you need to go to Virtualbox Settings -> Storage and remove your ISO file from the virtual disk drive. Then click Reboot to enjoy the new OS.
On the first boot, you need to accept the license agreement.
After that, click finish configuration. And log into the desktop.
Register your system to Red Hat subscription management (For Free)
After you get through the welcome and get started screen, make sure your system has Internet connection. RHEL 8 doesn’t automatically connect to the network. You need to go to the Network Settings and enable your system to automatically connect to available networks.
Then you can open up a terminal window and run the following command to switch to root user.
su -
If you try to update repository,1
yum update
It will tell you that
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Run the following command in terminal to register your system.
subscription-manager register --username your-redhat-developer-username --password your-password
Then run the following command to attach your system to a subscription.
subscription-manager attach --auto
If everything went well, you should see:
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux for x86_64
Status: Subscribed
Now you can update your repository.
yum update
And install some software.
yum install nginx
Enjoy Red Hat Enterprise Linux 8 for free!
If you see the following error while running yum command
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
There are no enabled repos.
That means your system can’t be attached to a subscription. You need to go to Red Hat customer portal, click Learn more about the beta button, then click get started button to add the Red Hat Entreprise Linux server subscription, which is free.
Renew Subscription
The free Red Hat Developer subscription expires after 1 year. You can renew the subscription for free to continue using RHEL 8 OS.