HomeAboutSkillsServicesTrainingBlog & ToolsGet in Touch
Blog & Tools

Practical Linux & IT Resources

Short guides, a command cheat sheet and a checklist from my day-to-day infrastructure work. Always test changes in a safe environment first.

Technical Articles

Articles in Progress

Coming soon

Safe OS patching: a checklist approach

What I check before, during and after patching Linux servers.

Coming soon

LVM & RAID explained simply

How they differ, when to use each, and common mistakes.

Coming soon

Cybersecurity basics for small teams

Everyday habits that reduce risk without a big budget.

Tutorials

Quick Guides

Extend an LVM volume

Add a new disk to a volume group and grow a logical volume plus its filesystem (ext4 or XFS). Adjust device and VG/LV names.

lsblk
sudo pvcreate /dev/sdb
sudo vgextend vg_data /dev/sdb
sudo lvextend -r -L +10G /dev/vg_data/lv_app
df -h

-r resizes the filesystem in the same step. Check vgs first to confirm free space.

OS patching checklist

Before: confirm a backup or snapshot, note the running kernel (uname -r), and agree a maintenance window.

# Debian / Ubuntu
sudo apt update && apt list --upgradable
sudo apt upgrade

# RHEL family
sudo dnf check-update
sudo dnf upgrade

After: check whether a reboot is needed (/var/run/reboot-required on Debian/Ubuntu, needs-restarting -r on RHEL), then verify with systemctl --failed and your application.

Basic SSH hardening

Keep one session open while testing so you can't lock yourself out. Confirm key login works before disabling passwords.

# /etc/ssh/sshd_config
PermitRootLogin no
PasswordAuthentication no

sudo sshd -t
sudo systemctl reload sshd   # service is "ssh" on Debian/Ubuntu
My Tools & Resources

Handy Tools

Linux Command Cheat Sheet

Server Hardening Checklist

Need help applying any of this? Get in touch.