The third lab in the Ansible series: one playbook gives server1 and server2 an XFS partition on /backup, a volume group with a logical volume on /data and swap on LVM, all mounted by UUID in /etc/fstab. Growing the volume is a one-line change. Includes a partition name that made a new partition on every run, a swap resize the role skipped without a word, and safe mode refusing to format a disk that still had data on it.
The second lab in the Ansible series: one playbook mounts the installation ISO on server1, serves it over HTTP and points both servers at it, with BaseOS and AppStream defined once and a group variable deciding whether a server reads them from disk or over the network. Includes facts that went stale after a remount, a check mode that reported nothing to do on an unmounted repo, and the rhel-system-roles firewall role working with no internet.
The first lab in a series that automates RHCSA tasks with Ansible: server1 becomes the control node for itself and server2, a dedicated ansible user gets an SSH key and passwordless sudo, and a project directory gets its own ansible.cfg and inventory. Includes an ansible.cfg that was silently ignored, a pipe the command module didn't understand, and a broken sudo rule that Ansible couldn't fix without a password.
Processing CSV files the moment they land in /srv/incoming on RHEL 10, with a .path unit instead of a cron job that checks every five minutes: DirectoryNotEmpty= and a half-written file it picked up, the .part upload pattern, PathExistsGlob=, a stuck file that hit the start limit and silently disabled the watcher, and a script that moves bad files aside.
Scheduling a job to run once on RHEL 10 instead of adding a cron line you have to remember to delete: at with clock times and relative times, atq, at -c and atrm, why at -f copies the script, output with no mail server, at.allow and at.deny, jobs that catch up after downtime, and batch waiting for the load average to drop.
A daily disk report on a RHEL 10 server that's switched off at night, so a cron job at 02:00 never fires: how cron.hourly starts anacron, /etc/cron.daily and run-parts naming rules, a custom /etc/anacrontab line with its own period, timestamps in /var/spool/anacron, RANDOM_DELAY and START_HOURS_RANGE, and testing with anacron -n -d.
Running a job later, or right now, as a real systemd unit without writing a unit file: --on-active and --on-calendar timers, why a 10-second timer fired 44 seconds late, the environment systemd-run doesn't pass on, --wait and --pipe for exit codes and output, MemoryMax= and CPUQuota= limits on a single command, cancelling, and why transient timers don't survive a reboot.
A static website in a rootless nginx container, run by a regular user and managed by systemd through a Quadlet .container file: why su - breaks systemctl --user, why the unit can't be enabled, an image that exits silently without Exec=, loginctl enable-linger for starting at boot without a login, Restart=on-failure, and the rootless limits - port 80, SELinux :Z and subuid mapping.
Extra swap carved out of the vg_data volume group from the LVM lab: a new logical volume, mkswap, swapon, a priority higher than the existing swap, an /etc/fstab entry tested with swapon -a (mount -a ignores swap), and growing it later - including why lvextend -r refuses swap and a mkswap that has to be rerun.
The nightly backup from the cron + rsync lab, moved to a systemd service and timer on RHEL 10: a oneshot service tested on its own first, a calendar schedule checked with systemd-analyze, Persistent=true catching up a run missed while the server was off, OnFailure= alerts instead of MAILTO, and why flock is no longer needed.
One RHEL 10 server with the install ISO mounted becomes the package source for every other machine on an air-gapped network: httpd serving /repo, the SELinux mount-context fix that restorecon can't do on a read-only ISO, a firewall opening, and client .repo files pointing at it over plain HTTP with GPG checking still doing the real security work.
The rd.break procedure done for real on a VM: interrupting GRUB, dropping into the initramfs shell, remounting /sysroot, changing the password inside a chroot, and handling SELinux correctly - with a full relabel or the faster enforcing=0 + restorecon route - then locking the door with a GRUB password.
A RHEL 10 machine with no internet, no Red Hat CDN and no Satellite - turning the installation DVD into a persistent ISO file, loop-mounting it via /etc/fstab, and defining BaseOS and AppStream as local dnf repositories with GPG signature checking left on.
A new disk, built into usable storage through all three LVM layers (PV -> VG -> LV), formatted, mounted persistently via /etc/fstab, and - the part that's the actual point of LVM - extended later with a second disk, with the original data confirmed intact afterward.
Logical Volume Management: physical volumes, volume groups, and logical volumes - creating each layer, extending a logical volume (the classic RHCSA task), growing the volume group first when needed, using the space after an existing disk was enlarged, and the much riskier, XFS-incompatible process of shrinking one.
SELinux modes, reading and changing file context with semanage and restorecon (not chcon), booleans, and reading AVC denials - the parts that are a genuine knowledge gap for most people studying for RHCSA, who often just disable SELinux instead of learning it.
From power-on to a login prompt: systemd targets (the modern equivalent of runlevels), systemctl isolate/get-default/set-default, GRUB2 configuration and regeneration, and the classic rd.break procedure for resetting a lost root password.
A practical end-to-end backup pipeline for a WordPress site: mysqldump plus rsync's --link-dest incremental snapshots, scheduled safely with cron and flock, pruned automatically, and actually verified with a real restore - including a --link-dest gotcha that silently breaks deduplication if missed.
A systematic triage flow for a slow Linux server: load average, then CPU, memory/swap, disk I/O and network, with the commands and thresholds to tell which one is actually the bottleneck.
Inspect and control Linux processes with ps, top, kill/pkill, nice/renice and /proc: process states, signals, priority, process trees and job control.
A practical hardening checklist for a freshly provisioned Ubuntu/Debian server: users and SSH, firewall and fail2ban, automatic updates, time sync, kernel/network tuning, and the mistakes that lock you out.
Diagnose network problems with ss, netstat, ping, traceroute and dig/nslookup: is a port open, is a host reachable, where does the connection stall, and is DNS resolving correctly.
Create, modify and delete Linux user accounts and groups, understand root vs. admin vs. ordinary users, switch accounts with su, run admin tasks with sudo, and manage /etc/sudoers - plus password aging with chage and the /etc/passwd, /etc/shadow and /etc/group files behind it all.
Monitor Linux systems with htop, glances and netdata for quick host-level checks, plus how Zabbix and Grafana fit in for fleet-wide monitoring and dashboards.
Edit text streams with sed (substitution, deletion, in-place editing, addressing) and process columns with awk (fields, patterns, built-in variables, one-liners).
A practical workflow for troubleshooting with plain-text logs in /var/log: where to look first, tailing and searching fast, correlating logs across services, log rotation and disk-full recovery.
Core Vim modal editing commands that work identically in Vim and Neovim, plus what actually differs between the two - config files, LSP support and the plugin ecosystem.
Read and filter the systemd journal with journalctl: by service, time range, priority and boot, follow logs live, and manage journal disk usage.
Write practical Bash scripts: variables, quoting, arguments, conditionals, loops, functions, arrays, exit codes and the safety flags every script should start with.
Create, extract and inspect tar archives, combine them with gzip/bzip2/xz compression, and work with zip - with the flags that actually matter day to day.
Sync files and directories locally or over SSH with rsync: core flags, excludes, dry runs, deletion safety, bandwidth limits and backup recipes.
Symptom-to-fix runbook for WordPress served by Nginx and PHP-FPM on Ubuntu: gateway errors, permissions, database issues, TLS, performance and server housekeeping.
Install, update, remove and search for packages on Debian/Ubuntu (apt) and RHEL/Fedora (dnf), side by side.
Connect, authenticate with keys, configure ~/.ssh/config, transfer files, tunnel ports, and harden sshd safely.
A curated selection of 100 essential Linux commands for sysadmins and power users, grouped by category with practical examples and safety notes.
A practical reference to the Linux filesystem hierarchy: what each top-level directory is for, virtual filesystems, usr-merge, and troubleshooting full disks.
Schedule recurring jobs with cron: crontab syntax, time expressions, special values, logging, MAILTO and safe locking with flock.
Locate files with find by name, type, size, time, owner and permissions, and combine it with grep to search file content.
Search text with grep: recursive, case-insensitive, whole-word, inverse and regex matching, with /etc and log file examples.
Check disk usage, partitions and mounted filesystems with df, du, lsblk, mount, fdisk and blkid, plus swap usage - which processes eat the most swap, and how to control it.
Read ls -l output, understand permission classes and octal modes, use chmod and chown safely, and work with SUID, SGID, sticky bit, umask and ACLs.