devops

Ansible Ad Hoc Commands Explained with Examples

Learn Ansible ad hoc command syntax with ping, command, shell, package, service, file, copy, user, become, --limit, check mode, troubleshooting, and playbook migration examples.

Deepak Prasad15 min read
devops

Ansible Roles Explained: Directory Structure, Defaults, Vars and Handlers

Learn Ansible roles with a tested demo: directory structure, tasks, handlers, defaults vs vars, variable placement, role dependencies, and when to use roles, include_role, or import_role.

Deepak Prasad13 min read
storage

Network-Bound Disk Encryption with Clevis and Tang on Linux

Configure LUKS NBDE with Clevis and Tang on RHEL/CentOS: two-VM lab with Tang server, LUKS root client, dracut rebuild, and video—boot without typing a passphrase when Tang is reachable.

Deepak Prasad13 min read
linux

How to List Users in Linux (getent, passwd, who, id)

List users in Linux with getent, /etc/passwd, who, and id. Filter normal and system accounts, see logged-in sessions, and check whether a user exists on Ubuntu and RHEL.

Deepak Prasad9 min read
linux

How to List Groups in Linux and Check User Group Membership

List groups in Linux with getent, groups, id, and /etc/group. Check user group membership, list group members, and compare primary vs supplementary groups.

Deepak Prasad10 min read
security

Import Certificate into Java cacerts on Ubuntu, Debian, RHEL, Rocky Linux

Import a CA or TLS certificate into Java cacerts on Ubuntu, Debian, RHEL, and Rocky Linux with keytool -importcert: locate cacerts, use a copy for safe testing, default password changeit, and distro-specific system trust …

Deepak Prasad8 min read
linux

Ubuntu vs Fedora in 2026: Which Linux Distro Should You Choose?

Compare Ubuntu 26.04 LTS and Fedora Linux 44 in 2026: Debian-derived APT vs RHEL-upstream DNF, five-year LTS vs 13-month releases, snap vs Flatpak, AppArmor vs SELinux, cloud and enterprise fit, and practical desktop …

Deepak Prasad16 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
linux

3 easy steps to configure hugepages in RHEL/CentOS 7/8

Step-by-Step Tutorial to configure hugepages in red hat and centos 7/8 linux using vm nr_hugepages in /etc/sysctl.conf. Also configure hugepages pool using hugeadm

Deepak Prasad6 min read
linux

How to Check Sudo Access for a User in Linux

Learn how to check sudo access in Linux. Check if you or another user has sudo privileges with sudo -l, test sudo access non-interactively in a bash script with sudo -n, and list all sudo users, with real tested output.

Deepak Prasad11 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 Cakmak6 min read
linux

How to Check Linux Kernel Version from Command Line

Learn how to check Linux kernel version with tested uname, hostnamectl, procfs, journalctl, dmesg, boot image, dpkg, and apt commands, and understand the difference between the running kernel and installed kernel …

Deepak Prasad8 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

Fix: cpio premature end of archive, List (lsinitrd) & Extract initramfs in RHEL Linux

How to extract/unpack/uncompress the contents of the initramfs image on RHEL7 and RHEL8? How do I list initramfs image file content? How do I modify the contents of an initrd or initramfs? How do I view an initrd or …

Deepak Prasad5 min read
linux

9 easy steps to create custom ISO RHEL/CentOS 8

To create custom ISO in RHEL/CentOS 8, create a kickstart file and modify the isolinux.cfg for boot menu. You can also minimze the package list and update repodata

Deepak Prasad15 min read
linux

15 steps to setup Samba Active Directory DC CentOS 8

Step by Step tutorial to configure samba active directory domain controller in CentOS 8 Linux. Install Windows AD alternative in Linux. Free domain controller software in Linux

Deepak Prasad14 min read
linux

How to Mount USB Drive in Linux (Command Line Guide for Ubuntu, Debian, RHEL)

Learn how to mount a USB drive in Linux using command line tools. This step-by-step guide explains how to identify USB devices, install required filesystem packages, mount USB drives manually, verify mount points, …

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

How to read user input during boot stage with systemd in Linux

Shell script to read user input during boot stage in Linux with a systemd service in CentOS/RHEL 7/8 Linux. Take input at the startup script in Linux.

Deepak Prasad5 min read
system-administration

Understanding systemd-journald and how logging works with Journal in RHEL 7

An overview on systemd-journald service, how logging happens in RHEL 7 Linux with Journals and systemd-journald logrotate. Compare systemd-journald vs rsyslogd

Deepak Prasad8 min read
system-administration

How to mount partition using systemd unit file?

Steps to automount file system using systemd automount unit file without /etc/fstab to automatically mount and unmount file system in rhel/centos 7 and 8

Deepak Prasad9 min read
system-administration

How to force file system check on boot: systemd-fsck RHEL/CentOS 7/8

Creating /forcefsck and /fsckoptions doesn't work on CentOS/RHEL 7/8 Linux How to perform force file system check on boot (next reboot) using systemd-fsck?

Deepak Prasad4 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 Upgrade CentOS 7 to CentOS 8

The process of upgrading from CentOS 7 to CentOS 8 is not straightforward. There are significant differences between the two versions, including the

Deepak Prasad10 min read
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

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
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 Cakmak15 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