Distro

CentOS tutorials

CentOS and CentOS Stream administration — yum/dnf, services, and migration notes for RHEL-compatible systems.

CentOS and CentOS Stream remain a common reference point for RHEL-compatible administration, even as many teams migrate to Rocky Linux or AlmaLinux.

Articles here document yum/dnf workflows, repository layout, service configuration, and migration paths for legacy CentOS 7/8 estates.

Use these tutorials when you maintain older CentOS systems or need Stream-specific notes while planning a move to a supported enterprise rebuild.

For current RHEL-compatible targets, browse Rocky Linux and AlmaLinux.

145 articles

CentOS tutorials illustration with dnf administration and migration to Rocky or AlmaLinux
system-administration

Solved: Error populating transaction, retrying RHEL/CentOS 7/8

How to fix starting package installation process error populating transaction, anaconda is retrying faced during RHEL/CentOS 7/8 installation in Linux

Deepak Prasad4 min read
devops

Setup KVM HA Cluster | Pacemaker GUI | RHEL/CentOS 8

Step-by-Step Tutorial to configure KVM HA Cluster using Pacemaker GUI (WEB UI) and CLI tool in RHEL and CentOS 8 Linux. Configure Virtual Floating IP, verify failover

Deepak Prasad15 min read
system-administration

How to configure VLAN with bond using kickstart in Linux (CentOS/RHEL 7)

How to configure vlan with bond using kickstart in RHEL/CentOS 7. You can configure using network --vlan or using %post section of kickstart with examples.

Deepak Prasad4 min read
system-administration

Kickstart %pre script examples in RHEL CentOS 7 8

Use kickstart %pre script examples to perform tasks before installing the system. Use --interpreter, --log, chroot and nochroot options with %pre script RHEL/CentOS 7/8

Deepak Prasad5 min read
system-administration

Kickstart post install script examples in RHEL CentOS 7 8

Use kickstart post install scripts to perform tasks after installation, save logs, use interpreter with and without nochroot in RHEL and CentOS 7/8 Linux with examples

Deepak Prasad5 min read
linux

Configure IPv6 UEFI PXE Boot with Kickstart [RHEL/CentOS 8]

Step by step instructions to install and configure IPv6 UEFI PXE Boot using kickstart configuration file. Automate the installation over IPv6 network using dhcp6, tftp and http server

Deepak Prasad16 min read
linux

Configure IPv4 UEFI PXE Boot with Kickstart [RHEL/CentOS 8]

Step by step instructions to install and configure uefi pxe boot with kickstart on RHEL/CentOS 8 Linux. Configure DHCP for UEFI BIOS and automated installation

Deepak Prasad13 min read
system-administration

How to create custom tuned profile in Linux ( RHEL / CentOS 7 )

Get an overview of tuned profile tuned-adm and steps to create custom tuned profile in Red Hat or CentOS 7. List tuned profiles configure own tuned profile

Deepak Prasad4 min read
system-administration

Create KVM Virtual Machine using Cockpit UI RHEL CentOS 8

Step-by-Step Tutorial to create KVM Virtual Machine using Cockpit Web Console on RHEL/CentOS 8 Linux. virtual machine creation and management with Cockpit

Deepak Prasad6 min read
linux

Create Stratis Snapshot, Restore Stratis FileSystem & more (CentOS/RHEL

Steps to create stratis snapshot, restore stratis file system, remove or destroy snapshot, pools, stratis file systems using examples in RHEL 8 Linux

Deepak Prasad8 min read
storage

How to encrypt root partition and entire file system using LUKS in Linux

Steps to encrypt root partition and entire filesystem using LUKS in Linux. Encrypt volume group and physical volume with cryptsetup CentOS/RHEL 7/8 Migrate Data

Deepak Prasad6 min read
devops

How to configure or build ceph storage cluster in Openstack ( CentOS 7 )

Step by step guide to build ceph storage cluster in Openstack CentOS 7 Linux on virtual machine. Confiure OSD, mon using ceph-deploy tool for ceph cluster

Deepak Prasad12 min read
security

6 easy steps to setup offline two factor authentication in Linux

Configure Google Authenticator with Offline two factor authentication to secure ssh, sudo and su using PAM module pam_google_authenticator.so in RHEL/CentOS 7/8

Deepak Prasad10 min read
security

Install & Configure OpenVPN Server Easy-RSA 3 (RHEL/CentOS 7) in Linux

Install and configure openvpn server and openvpn client with easy-rsa 3 in centos or rhel 7 linux. Create CA, CSR certificates for openvpn server client model.

Deepak Prasad14 min read
system-administration

10 easy steps to move directory to another partition RHEL/CentOS 7/8

How to move directory to another partition move opt to new partition. move home to another partition. move var to new partition in RHEL/CentOS 7/8 Linux.

Deepak Prasad11 min read
system-administration

Configure xfs quota (user, group and project quota) CentOS/RHEL 7/8

Configure xfs quota for user, group, projects (disk). Check and Modify XFS quota grace period. Enable and Disable XFS Quota in RHEL/CentOS 7/8 with examples

Deepak Prasad14 min read
linux

10 easy steps to setup High Availability Cluster CentOS 8

Step-by-Step Guide to setup Linux High Availability Cluster in CentOS 8 using system_id_source uname. Configure pacemaker, corosync and linux HA cluster.

Deepak Prasad16 min read
storage

Step-by-Step Tutorial: Configure Software RAID 1 in Linux

Steps to configure software raid 1 mirroring in linux with and without spare disk with examples in RHEL, CentOS and other Linux distros using mdadm.

Deepak Prasad9 min read
storage

How to mount filesystem in certain order one after the other in CentOS/RHEL

Mount filesystem in certain order during reboot one after the other using systemd unit file or /etc/fstab using RequiresMountsFor x-systemd.requires- mounts-for

Deepak Prasad9 min read
system-administration

RHEL/CentOS 8 Kickstart example | Kickstart Generator

In this article I will share most used Kickstart commands to automate installation in sample RHEL/CentOS 8 Kickstart example file and link to kickstart generator

Deepak Prasad13 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
system-administration

Create Custom RHEL ISO using Cockpit Image Builder (CentOS/RHEL 8)

Steps to create custom RHEL ISO using Cockpit Image Builder Web Console and CLI in RHEL 8 Linux. Create Live ISO, QCOW2, Amazon Machine Image, Azure Disk Img

Deepak Prasad10 min read
devops

Configure High Availability Cluster in CentOS 7 (Step by Step Guide)

Step by Step guide to configure high availability cluster in CentOS or Red Hat 7 using pacemaker and corosync, 3 node HA Cluster on Virtual Box or KVMs..

Deepak Prasad8 min read
system-administration

How to properly update kernel in RHEL/CentOS 7/8 Linux

Steps to update kernel properly in production environment with examples. Precautions to be considered before and after you update kernel in RHEL/CentOS 7 and 8

Deepak Prasad7 min read
system-administration

Join Linux to Windows domain using adcli (RHEL/CentOS 7/8)

The adcli will be using System Security Services Daemon (SSSD) to connect a CentOS/RHEL 7/8 system to Microsoft Active Directory Windows Domain

Deepak Prasad11 min read
linux

6 different commands to restart network in RHEL/CentOS 7/8

The command to restart network in RHEL or CentOS 6,7 and 8 would vary depending upon your network configuration. If you are using NetworkManager then you can simply restart NM service

Deepak Prasad7 min read
linux

KVM Virtualization | Install KVM | RHEL/CentOS 8

KVM Tutorial. Steps to install KVM (Kernel Based Virtual Machine) in RHEL/CentOS 8 Linux. Learn about KVM Hypervisor and KVM virtualization.

Deepak Prasad5 min read
linux

Configure kickstart server | PXE boot server | RHEL/CentOS 8

PXE boot server configuration in linux step by step, kickstart linux tutorial, configure kickstart server, network based installation in linux using kickstart

Deepak Prasad16 min read
system-administration

2 ways to update and rebuild initrd image in CentOS/RHEL 7 and 8

Steps to extract, modify, update and rebuild initrd image in CentOS RHEL 7 and 8 ISO DVD with examples using XZ / LZMA format Update initrd with modules drivers

Deepak Prasad10 min read
system-administration

Configure secure logging with rsyslog TLS to remote log server (CentOS/RHEL

Configure secure logging to remote log server with rsyslog TLS certificates in CentOS/RHEL 7 Forward syslog to remote log server securely using TLS certificates

Deepak Prasad16 min read