How to Install Rocky Linux 8.4 Step by Step with Screenshots

Hello Techies, Rocky Linux 8.4 has been released officially by Rocky Enterprise Software Foundation (RESF). It is considered as the replacement of CentOS Linux. Rock Linux is community-based enterprise level operating system and compatible with RHEL (Red Hat Enterprise Linux). As CentOS 8 updates will not be available the after end of Dec 2021 and if you are looking for production grade operating system then Rocky Linux can be considered.

In this guide, we will cover the installation steps of Rocky Linux 8.4. Before jump into the installation steps, let’s see the minimum system requirements for Rocky Linux.

  • 2 GB RAM or more
  • 20 GB hard disk or more
  • 2 CPU / vCPUs (1.1 GHz processor)
  • Internet Connection (optional)
  • Bootable media (USB / DVD)

Let’s dive into the installation steps of Rocky Linux 8.4

Step 1) Download Rock Linux 8.4 ISO file

Download the ISO file of Rocky Linux from their official web site.

https://rockylinux.org/download

Once the ISO file is downloaded then burn it either into USB or DVD to make the bootable media. In Linux use following to create bootable media:

How to Create Bootable USB Drive on Ubuntu / Linux Mint

Step 2) Boot the system with bootable media

Reboot the target system and go to it’s bios settings and change the boot medium from hard disk to media like USB / DVD.

Once the system boots up with bootable media of Rocky Linux then we will get the following screen.

Welcome-Installation-Rock-Linux-Screen

Choose the first option ‘Install Rocky Linux 8’ and then hit enter.

Step 2) Choose Preferred Language for the installation

Select the language that suits to your installation and then click on ‘continue

Choose-Language-RockLinux-Installation

Step 3) Installation Summary

We will get the following initial default installation summary screen,

Default-Initial-Installation-Summary-RockY-Linux

So, pick each item and do the selection that suits to your environment. To set or change the keyboard layout click on Keyboard icon and choose the preferred keyboard layout and then click on ‘Done

Keyboard-layout-Rocky-Linux-Installation

Set Date and Time Zone

To configure date and time, click on ‘Date & Time’ icon and Choose the time zone

TimeZone-Selection-RockyLinux

Installation Destination

Click on ‘Installation Destination’ icon and choose how you want to configure partitions on the storage. We have two options here,

  • Automatic – In this option, installer will automatically create partitions on the disk.
  • Custom – In this option, you will get luxury to create own custom partitions.

In this guide, we will go with custom option and will demonstrate how to create custom partitions on 64 GB disk.

Choose-Custom-Storage-Configuration-Rocky-Linux

Click on ‘Done’ and then we will get the following screen.

Let’s create our first partition as /boot of size 2 GB with ext4 file system.

Select ‘Standard Partition’ and the click on + symbol and in pop up window specify mount point as /boot and desired capacity as 2 G.

boot-partition-rocky-linux-installation

Click on ‘Add mount point’ and then change the file system to ext4 from xfs and then click on ‘Update Settings

Update-boot-Filesystem-RockyLinux

Create the next partition as /home of size 30 GB and file system as ext4

Click on + symbol and then specify the mount point as /home and desired capacity as 30 G

Home-Partition-Rocky-Linux-Installation

Click on ‘Add mount point

Similarly create /root and /var partitions of size 20 GB and 10 GB respectively.

Slash-Root-partition-rock-linux-installation

Var-partition-rocky-linux-installation

Now create the last partition as swap of size 2 GB

Swap-Partition-Rocky-Linux-Installation

Click on ‘Add mount point’ and then click on ‘Done’ to proceed further

Choose-Done-Manual-Partition-RockyLinux

In the next screen, choose ‘Accept Changes’ to write the changes to the disk

Accept-Changes-Write-Disk-Rocky-Linux

Now we are back on the installation summary screen, if you wish to configure network then click on ‘Network and Hostname’ icon.

Network-hostname-Rocky-Linux

Click on ‘Done’ to go back to installation summary screen

In case you want to choose the preferred Base Environment then click on ‘Software Selection’. In my case I am selecting ‘Server with GUI

Base-Env-Software-Selection-Rocky-Linux

Click on Done.

Now set the root user password by choosing ‘Root Password’ icon

Root-Password-RockyLinux-Installation

Mentioned the root password twice that you want to set and then click on Done.

Create Local user account by selecting ‘User Creation’ icon

Local-User-Creation-RockyLinux-Installation

Click on Done to go back to previous screen,

Step 4) Begin Rocky Linux Installation

Now at this step, we are ready to start Rocky Linux installation, click on ‘Begin Installation’ icon

Begin-Installation-Rocky-Linux

As we can see below, Installation has been started and is in progress.

Rocky-Linux-Installation-Progress

Once the Installation is completed successfully then installer will prompt to reboot the system once.

Reboot-System-After-Rocky-Linux-Installation

Click on ‘Reboot System

Step 5) Login Screen After Installation

After reboot, don’t forget to change boot medium from USB / DVD to hard disk from the bios settings so that system boots up with newly installed Rocky Linux.

When the system boots up accept Rocky Linux license.

License-Agreement-Rocky-Linux

Click on Done to proceed further.

Now click on ‘Finish Configuration

Finish-Configuration-Rocky-Linux

We will get the following login screen, use the same user credentials that we have created during the installation.

Login-Screen-Rocky-Linux

After entering the credentials we will get the following desktop screen

Rock-Linux-GUI-Dashboard

Rocky-Linux-Desktop-GUI

Perfect, Above confirms that Installation has been completed successfully. That’s all from guide, I hope you have found this guide informative. In case you have any doubts and queries, please write it in the comments section below.

Leave a Comment