Distro

Rocky Linux tutorials

Rocky Linux how-to guides — dnf, SELinux, systemd services, and RHEL-compatible administration.

Rocky Linux is a downstream rebuild of Red Hat Enterprise Linux, popular for servers that need RHEL-compatible packages and long-term stability.

Tutorials here cover dnf repositories, SELinux contexts, firewalld rules, and enterprise services you would run on production Rocky 8 or 9 hosts.

Follow these guides for step-by-step administration, from initial package installs to storage, networking, and hardening tasks.

For AlmaLinux-specific notes or distro comparisons, see AlmaLinux and AlmaLinux vs Rocky Linux.

48 articles

Rocky Linux tutorials illustration with dnf, firewalld, and RHEL-compatible server guides
linux

AlmaLinux vs Rocky Linux: Which RHEL-Compatible Distro Should You Run?

Compare AlmaLinux 9/10 and Rocky Linux 9/10 for servers: RHEL compatibility models, support timelines, cPanel support, migration tools, hardware requirements, patching philosophy, and when to pick each Enterprise Linux …

Deepak Prasad10 min read
linux

AlmaLinux vs Ubuntu: Which Should You Run on a Server?

Compare AlmaLinux 9 and 10 with Ubuntu 24.04 LTS for servers: RHEL compatibility, dnf vs apt, SELinux vs AppArmor, support timelines, cPanel hosting, cloud images, migration from CentOS, and practical workload guidance.

Deepak Prasad10 min read
linux

How to install EPEL Repository Rocky Linux?

In this tutorial we will share steps and different methods to install EPE repo in Rocky Linux

Omer Cakmak5 min read
system-administration

Chrony Force Sync in Linux

Learn how to force Chrony time sync in Linux using chronyc makestep and chronyd -q. Also configure Chrony as an NTP client or server, check sync status, and understand server options like iburst, minpoll, and maxpoll.

Deepak Prasad8 min read
linux

How to Add User to Sudo Group in Linux

Learn how to add a Linux user to the sudo group on Ubuntu and Debian, use the wheel group on RHEL-based systems, verify sudo access, and avoid confusing group-based sudo with custom sudoers file rules.

Omer Cakmak5 min read
linux

Install YARN on Linux and Windows

Step by Step instructions to install yarn on Linux and WIndows. Installation on Ubuntu (Debian based) and Rocky Linux (Red hat based) and Windows.

Omer Cakmak7 min read
linux

Install phpMyAdmin on Rocky Linux 9 [Step-by-Step]

Step by step instructions to install phpMyAdmin on Rocky Linux 9 using 2 different methods.

Omer Cakmak4 min read
linux

Migrate CentOS 7/8 to Rocky Linux 8

Step by Step guide to upgrade or migrate CentOS 7 and 8 to Rocky Linux 8. There will be no data loss during the migration.

Deepak Prasad5 min read
linux

How to install and setup ZFS in Rocky Linux 9

Install and Setup ZFS in Rocky Linux 9 with examples to create a ZFS Pool

Omer Cakmak14 min read
linux

How to install Zabbix on Rocky Linux 8

Step by step instructions to install and configure zabbix on rocky Linux 8

Deepak Prasad7 min read
linux

How to install PostgreSQL Rocky Linux? [SOLVED]

Step by step instructions to install postgresql from default repository or from online archive. You can download and install custom postgresql version from their official repositories

Omer Cakmak4 min read
linux

PROPERLY disable IPv6 in Rocky Linux

IPv6(128-bit address) is a protocol that will replace the IPv4(32-bit address) network protocol and provide a much larger network address space usage. It is

Omer Cakmak5 min read
linux

Install LXD on Rocky Linux 9 [Step-by-Step]

Step by step instructions to install LXD on Rocky Linux 9

Omer Cakmak7 min read
linux

Setup VNC server in Rocky Linux 8 [Step-by-Step]

Step by step instructions to setup vnc server on Rocky Linux 8 with screenshots.

Deepak Prasad7 min read
security

Install Tor Browser on Rocky Linux

Step by step instructions to install and configure tor browser in Rocky Linux. 2 different ways to install tor browser in Linux with screenshots

Deepak Prasad6 min read
linux

Install LEMP Stack on Rocky Linux 8

Step by Step instructions to install LEMP stands on Rocky Linux 8. LEMP stands for Linux, Nginx (Pronounced as Engine-X), MySQL/MariaDB, and PHP. This is a stack that is normally used together to build powerful websites …

Deepak Prasad9 min read
linux

Install LAMP Stack on Rocky Linux 8

Step by Step instructions to install LAMP Stack on Rocky Linux 8. Install and configure Linux, Apache, MariaDB and PHP

Deepak Prasad7 min read
networking

Set Static IP in Rocky Linux [6 Different Methods]

6 different methods to configure and set static IP Address in Rocky Linux. Use nmtui, nmcli, ifcfg, ip and ifconfig utility to configure static IP address

Deepak Prasad11 min read
linux

Install Rocky Linux 8 [Step-by-Step with Screenshots]

This guide covers how to install Rocky Linux 8.4 on VirtualBox. Rocky Linux is the replacement of the much-loved CentOS whose support will end on December 31, 2021

Deepak Prasad8 min read
linux

Install Nagios XI on Rocky Linux 9

Two different methods to install nagios XI on ROcky Linux 9. Install latest or custom version by directly downloading from official page.

Omer Cakmak6 min read
linux

Install Eclipse IDE on Rocky Linux 9 [Step-by-Step]

Step by step instructions to install eclipse IDE on Rocky Linux 9

Omer Cakmak4 min read
linux

Install Apache from Source Code Rocky Linux [Step-by-Step]

Step by Step instructions to install and configure apache from source code in Rocky Linux 8

Deepak Prasad5 min read
linux

Install Maven in Rocky Linux 9

2 different methods to install latest maven package using system package manager or from downloading maven from official repository.

Omer Cakmak3 min read
linux

Setup BIND DNS Server in Rocky Linux 8

Step by Step instructions to setup and configure bind dns server using chroot environment in Rocky Linux 8. The chroot environment is used to further secure the DNS Server

Deepak Prasad10 min read
linux

Samba Active Directory Setup

Step by step instructions to setup Samba Active Directory on Rocky Linux 8. Join WIndows Client to Samba Domain Controller

Deepak Prasad10 min read
linux

Setup Master Slave BIND DNS server Rocky Linux 8

Step by Step instructions to configure Master Slave BIND DNS Server on Rocky Linux 8.

Deepak Prasad9 min read
linux

Install MongoDB on Rocky Linux 8.4 (Step-by-Step)

In this tutorial we will cover the steps to install MongoDB on Rocky Linux.

Deepak Prasad5 min read
linux

Convert CentOS 8 to Rocky Linux 8

As you know, CentOS Linux 8 became the end of life on 31 Dec 2021. It will now continue its life as CentOS Stream 8. Many people/organizations using CentOS

Omer Cakmak5 min read
devops

Install ELK stack on Rocky Linux 8

Step by step instructions to install ELK Stack on Rocky Linux. Install Elasticsearch, Logstash and Kibana

Deepak Prasad7 min read
linux

Setup Grafana with Prometheus Rocky Linux 8

In this guide, we shall setup Grafana with Prometheus on Rocky Linux 8, we will use Grafana instance on the same server so that we can visualize metrics populated by the Prometheus service.

Deepak Prasad8 min read