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

Create KVM virtual machine | virt-manager | RHEL CentOS 8

Step-by-Step Guide to create KVM Virtual Machine using Virtual Manager in RHEL and CentOS 8 Linux. Create VM, Take Snapshot, Assign Networks using Virtual manager GUI

Deepak Prasad6 min read
linux

How to properly remove old kernels RHEL/CentOS 8

You can now use dnf command to remove old kernels from RHEL/CentOS 8 Linux. package-cleanup doesn't work any more. Use oldinstallonly with installonly_limit

Deepak Prasad5 min read
system-administration

How to install Oracle Virtual Box on Linux (CentOS / RHEL 7)

Step by step Guide to install Oracle Virtual Box on RHEL / CentOS 7 Linux. To install Oracle Virtual Box you need EPEL repo. Oracle Virtual 5.2 is out now

Deepak Prasad3 min read
networking

How to create and configure network bridge using nmcli (static & dhcp)

Configure network bridge using nmcli for static and dhcp ip. nmcli connection reload. nmcli onboot. nmcli network manager centos 7. nmcli con add modify

Deepak Prasad7 min read
system-administration

How to enable SSH access & configure network in rescue mode (CentOS/RHEL

Steps to enable SSH access in linux rescue mode and configure network in rescue mode in RHEL/CentOS 7/8 with example transfer sosreport file inst.sshd=1

Deepak Prasad4 min read
storage

Configure LUKS Network Bound Disk Encryption with clevis & tang server

Configure Network Bound Disk Encryption (NBDE) based LUKS Disk Encryption using Clevis and tang Server in CentOS/RHEL 7/8 Linux Boot without password clevis key

Deepak Prasad9 min read
linux

Create Stratis File System (thin provision) with examples (CentOS/RHEL 8)

Stratis Architecture, Steps to create stratis file system with thin provision, create stratis pool, mounting stratis file system on rhel 8 linux with examples

Deepak Prasad10 min read
linux

How to configure bridged network in virt-manager (CentOS / RHEL 7)

Steps to configure bridged network in virt-manager. Virtual Machine Manager provides a graphical tool for administering virtual machines for KVM, Xen etc

Deepak Prasad3 min read
networking

How to create or configure NIC Teaming using nmcli (CentOS / RHEL 7/8)

Learn to configure NIC teaming on CentOS/RHEL 7 Linux node. RHEL 7 implements network teaming with a small kernel driver and a user-space daemon, teamd.

Deepak Prasad7 min read
linux

How to download entire repository from CentOS /RHEL 7/8 for offline use?

To download entire repository from CentOS / RHEL 7 you will need one time access to Internet. Next you can sync the online repository to your local system

Deepak Prasad6 min read
linux

How to download rpm package and all dependencies (RHEL / CentOS 7)

Download rpm package and all dependencies in CentOS / RHEL 7 using yumdownloader or repotrack. You can also use repoquery with yumdownloader to download rpm

Deepak Prasad5 min read
linux

How to exit full screen mode in qemu virt-manager ( RHEL / CentOS 7)

How to exit full screen mode in qemu virt-manager for kvm hosts or get out of fullscreen. This article is validated on RHEL / CentOS 7 Linux on vnc viewer.

Deepak Prasad2 min read
linux

Guide to troubleshoot Cluster Resource (RHEL / CentOS 7)

Configure high availability cluster, create cluster resource and troubleshoot cluster resource for a cluster on Red Hat / CentOS 7 with examples.

Deepak Prasad5 min read
devops

How to create cluster resource in HA Cluster (with examples)

Configure High Availability Cluster and configure cluster resource and add behind the cluster in CentOS and Red Hat 7 Linux using pcs resource create..

Deepak Prasad8 min read
linux

How to change tmpfs partition size in Linux ( RHEL / CentOS 7 )

Increase decrease, change tmpfs partition size in Red Hat Linux 7, /run /run/user/$PID /dev/shm /sys/fc/cgroup using fstab RuntimeDirectorySize logind.conf

Deepak Prasad5 min read
system-administration

How to set default boot kernel on Linux ( CentOS / RHEL 7 )

How to set default boot kernel in linux? Change the default boot entry for kernel ? Boot with old kernel version ? Revert to previous kernel version ?

Deepak Prasad3 min read
linux

How to install and configure two node cluster in Linux ( CentOS / RHEL 7 )

How to install configure two node cluster in linux on centos rhel 7 using vmware virtualbox corosync-quorumtool two_node wait_for_all auto_tie_breaker

Deepak Prasad5 min read
devops

How to configure HA LVM cluster resource to share LVM in Linux

How to configure HA LVM on CentOS / RHEL 7 Linux without GFS2. How can I configure cluster service or resource to activate and monitor shared LVM volumes?

Deepak Prasad7 min read
system-administration

How to delete iscsi target from initiator ( CentOS / RHEL 7 ) Linux

How to delete iscsi target? Remove inactive iscsi target? Remove iscsi storage target from initiator? Remove iscsi virtual disk on CentOS / RHEL 7 Linux.

Deepak Prasad3 min read
linux

How to disable tty or enable tty console in Linux ( RHEL / CentOS 7)

How to enable tty for more than 6 console. How to disable all the tty terminals in Linux. systemd disable tty. systemd enable tty using getty service in Linux.

Deepak Prasad3 min read
storage

How to boot Linux host from LVM snapshot using BOOM (CentOS/RHEL 8)

Step by Step guide to boot CentOS/RHEL 8 or 7.5 and higher Linux with LVM snapshot using BOOM. with examples. Merge LVM snapshot and delete boom profile later.

Deepak Prasad8 min read
networking

Step-by-Step Tutorial: Configure Master Slave DNS Server (RHEL/CentOS 7)

Steps to configure master slave dns server using bind chroot environment in RHEL/CentOS 7 Linux. Sample master dns server and slave dns server with examples.

Deepak Prasad9 min read
linux

Secure Master Slave DNS Server with DNSSEC key in Linux (RHEL/CentOS 7)

Steps to secure master slave dns server using various algorithm types to secure the data replication between master and slave dns server using dnssec key Linux

Deepak Prasad7 min read
system-administration

8 ways to prevent brute force SSH attacks in Linux (CentOS/RHEL 7)

Prevent brute force SSH attacks in RHEL CentOS 7 with examples using Fail2ban, account lockout, SSH rate limit using iptables, sshd_config, SHA512 hashing

Deepak Prasad10 min read
linux

6 ssh authentication methods to secure connection (sshd_config)

Overview on different openssh authentication methods using sshd_config in RHEL/CentOS 7/8 Linux with Examples. Authenticate your sshd connection in Linux

Deepak Prasad7 min read
storage

DRBD Tutorial | Setup Linux Disk Replication | CentOS 8

Step-by-Step DRBD Tutorial to install and configure DRBD Storage device on CentOS 8. Perform Linux disk replication runtime. How to perform DRBD configuration

Deepak Prasad14 min read
system-administration

How to configure ssh host based authentication per user (CentOS/RHEL 7/8)

Configure SSH Host Based Authentication using sshd_config, shosts,equiv per user RHEL/CentOS 7/8. Compare Host based authentication vs public key authentication

Deepak Prasad8 min read
devops

#1-ELK Stack: Configure elasticsearch cluster setup CentOS/RHEL 7/8

Elasticsearch Tutorial on ELk Stack to configure elasticsearch cluster in RHEL/CentOS 7/8 Linux with examples. Get cluster helath status, node types, stats

Deepak Prasad20 min read
devops

Install & configure glusterfs distributed volume RHEL/CentOS 8

Steps to install and configure glusterfs distributed volume on two cluster nodes with RHEL/CentOS 8. GlusterFS Tutorial with shared storage Red Hat/CentOS 8

Deepak Prasad9 min read