Step by step Rocky Linux 8.x Installation easy guide with screenshots

Introduction

Rocky Linux is a Community Enterprise Operating System similar to Red Hat Enterprise Linux, CentOS, Oracle Linux, and much more Linux distributions. The name has been chosen to tribute early CentOS co-founder Rocky McGaugh. The initial release 8.4 is out by the 21st of June 2021 and license under “BSD and others”. Same like RHEL and CentOS this too using RPM Package manager and using DNF as the default update method.

The recent changelog related to Rocky Linux can be found under click here. Finally, the official repository can be found under git.rockylinux.org.

Let’s start with installing Rocky Linux on a Virtual machine, If you need to perform the same installation on a Physical server the same steps are applicable.

Starting Installation

Select the first option “Install Rocky Linux 8” to start the installation.

Install Rocky Linux 8
Install Rocky Linux 8

Installation Process Language

By default English will be selected, If you need to select your preferred language select the same from the list.

Installation progress language
Installation progress language

Pre Installation Summary

Before selecting the appropriate settings the Installation summary will be similar to below.

Installation summary Rocky Linux 8
Installation summary

Disk Selection / Installation Destination

Select the first disk and click Done to automatically partition the disk.

If you are looking to partition the disks manually with LVM, follow the same steps as shown in this guide.

Installation Destination
Installation Destination

Software Selection | Server Type

We need to perform a minimal installation, so select the “Minimal Install” and select the additional software is required from the right side pane.

Software selection Rocky Linux 8
Software selection

Configuring Timezone and Date

Select the preferred timezone and date.

Time and date Rocky Linux 8
Time and date settings

Configuring Interface

Configure the Interface and hostname.

Network and hostname Rocky Linux 8
Network and hostname settings

From the Installation Summary screen click the “Network & Host Name” we will get a new window.

  1. Click “Configure” to start configuring the IP address.
  2. Select Manual from the drop down list.
  3. Click “Add” to add the new IP information.
  4. Set the DNS server and search domains informations.
  5. Click the Save to commit the changes and close the Interface window.
  6. Type the Hostname and click Apply.
  7. Click and toggle to ON the Interface.
  8. Finally, click the “Done” to save and exit.

Right after the 7th step, we could see the below IP and hostname as shown in the snip.

Network settings done
Network settings done

Setting Root Password

Set a root password for the root user, Make sure to create a strong password by avoiding using the dictionary password.

For demonstration, I have used a weak password and it will give a warning at the bottom of the page.

Set root password Rocky Linux 8
Set the root password

Creating Addional User

We can create additional normal or privileged users with few customizations.

Create privileged user Rocky Linux 8
Create privileged user

Selecting the check box next to “Make this user administrator” will add a sudo entry.

By following, Click the Advanced at the bottom to start setting the user configuration.

Advanced user configuration Rocky Linux 8
Advanced user configuration

Installation Summary

Once all the settings are selected, the Installation Summary screen will be shown as below.

Installation summary Rocky Linux 8 after configuration
Installation summary after configuration

Installation In progress

Click the “Begin Installation” to start the installation, this will take few minutes to copy and install the packages.

Installation in progress of Rocky Linux 8
Installation progress

Click “Reboot System” to restart the server.

Rocky Linux Installation completed
Rocky Linux Installation completed

Post Installation steps

After the installation, the server boots for the first time.

First boot of Rocky Linux 8
First boot of Rocky Linux 8

We could see the login screen, use the root user or created user to access the server.

Rocky Linux version and Kernel version
Rocky Linux version and Kernel version

Run few commands to verify the installation.

Rocky Linux post installation verification
Post-installation verification

That’s it, we have completed a successful installation of Rocky Linux 8.

Conclusion:

A step-by-step guide for any operating system needed by a new sysadmin or to those who newly started to explore Linux, hope this will help one looking for a brief installation guide on Rocky Linux. Subscribe to our newsletter to receive our updates related to Rocky Linux. Your feedbacks are accepted through below comment section.