Docker From my setup 2 min read
The small Docker Compose and Caddyfile setup behind this website: Caddy gets and renews Let's Encrypt certificates by itself and serves a static site, with security headers, redirects and log rotation.
caddy docker https letsencrypt nginx
Updated 2026-11-27
Bash Reference note 1 min read
if, test operators, for, while and case, with the patterns that actually come up in scripts.
bash scripting loops
Updated 2026-11-27
Bash Reference note 1 min read
The five time fields, crontab editing, the system cron directories, and why jobs silently fail.
cron scheduling
Updated 2026-11-27
Bash Reference note 1 min read
stdout, stderr, appending, discarding, tee and process substitution.
bash pipes redirection
Updated 2026-11-27
Bash Reference note 1 min read
set -euo pipefail, a trap for cleanup, and argument checks that make scripts fail loudly instead of silently.
bash scripting safety
Updated 2026-11-27
Bash Reference note 1 min read
Small commands that cover most log and CSV wrangling.
sed awk cut text
Updated 2026-11-27
Bash Reference note 1 min read
Assign and expand variables, why you should quote them, and the difference between single and double quotes.
bash quoting variables
Updated 2026-11-27
Debian Reference note 1 min read
The daily apt commands on Debian and Ubuntu, including what is installed and where a file came from.
apt packages debian
Updated 2026-11-27
Debian Reference note 1 min read
Where apt reads repositories, release names, and the modern way to add a signed repository.
apt repositories gpg
Updated 2026-11-27
Debian Reference note 1 min read
Identify the running release and the safe outline of a release upgrade.
debian upgrade release
Updated 2026-11-27
Debian Reference note 1 min read
timedatectl for the time zone and NTP, and locale settings for correct language and characters.
timezone ntp locale
Updated 2026-11-27
Debian Reference note 1 min read
Enable and check automatic security updates, and control reboots.
updates security debian
Updated 2026-11-27
DNS Reference note 1 min read
Query records, choose the resolver, trace delegation and read the answer.
dig dns records
Updated 2026-11-27
DNS Reference note 1 min read
A, AAAA, CNAME, MX, TXT, NS, SRV, CAA and PTR: what each is for.
dns records
Updated 2026-11-27
DNS Reference note 1 min read
The minimum DNS setup for a website: an A record (and AAAA), a www alias and a quick check.
dns website setup
Updated 2026-11-27
DNS Reference note 1 min read
See which DNS servers a machine really uses, per interface, and set them.
dns resolved ubuntu
Updated 2026-11-27
DNS Reference note 1 min read
Caching, TTL, negative caching and how to check the authoritative server directly.
dns propagation troubleshooting
Updated 2026-11-27
Docker Reference note 1 min read
A Dockerfile example, layer caching, a .dockerignore and a multi-stage build for smaller images.
docker dockerfile build
Updated 2026-11-27
Docker Reference note 1 min read
A small compose file with volumes, a restart policy and a health check, and the commands to run it.
docker compose yaml
Updated 2026-11-27
Docker Reference note 1 min read
Run, list, inspect, log into and clean up containers and images.
docker containers cli
Updated 2026-11-27
Docker Reference note 1 min read
User-defined networks, resolving containers by service name, and keeping databases off the internet.
docker networking compose
Updated 2026-11-27
Docker Reference note 1 min read
A short checklist: status, logs, exit code, config, ports and permissions.
docker troubleshooting
Updated 2026-11-27
Docker Reference note 1 min read
Pull new images, recreate only what changed, and reclaim disk space without deleting data.
docker updates disk
Updated 2026-11-27
Docker Reference note 1 min read
Where container data should live, how to back up a named volume, and the permission pitfalls.
docker volumes backup
Updated 2026-11-27
Server administration From my setup 3 min read
How I back up a small Ubuntu server with restic: nightly encrypted snapshots, retention, a weekly integrity check, a restore test and an off-server copy on my PC.
backup restic ubuntu cron docker
Updated 2026-11-27 ⬇ 1 download
Ubuntu Server From my setup 3 min read
The steps I run on a fresh Ubuntu 24.04 cloud VM: key-only SSH on a custom port, no root login, fail2ban, automatic security updates, and the two-layer firewall on Oracle Cloud.
ssh security ubuntu fail2ban firewall
Updated 2026-11-27 ⬇ 1 download
Python From my setup 3 min read
A tour of the setup behind this site: Python scripts that turn JSON, Markdown and cached GitHub data into static HTML, one hashed stylesheet, client-side search, tests, and a deployment script with a backup and rollback.
python static-site github-api deployment testing
Updated 2026-11-27
Linux Reference note 1 min read
Check free space per filesystem, find the biggest directories and clean up safely.
disk df du ncdu
Updated 2026-11-27
Linux Reference note 1 min read
View, set and persist environment variables, and fix "command not found" caused by PATH.
env path shell
Updated 2026-11-27
Linux Reference note 1 min read
How to read and change Unix permissions, what 644, 755 and 600 mean, and the sticky and setuid bits.
chmod chown permissions
Updated 2026-11-27
Linux Reference note 1 min read
The find options I use most: name patterns, size, modification time, owner, and running a command on every match.
find files cli
Updated 2026-11-27
Linux Reference note 1 min read
Recursive search, context lines, inverted matches, counting and regular expressions with grep.
grep regex cli
Updated 2026-11-27
Linux Reference note 1 min read
CPU, memory, disks, PCI/USB devices, temperatures and uptime.
hardware lscpu lsblk
Updated 2026-11-27
Linux Reference note 1 min read
List, inspect and stop processes, and understand signals.
ps top kill processes
Updated 2026-11-27
Linux Reference note 1 min read
Copy directories efficiently over SSH, mirror with --delete carefully, and do a dry run first.
rsync backup ssh
Updated 2026-11-27
Linux Reference note 1 min read
Create an ed25519 key, install it on a server, and use a config file for host aliases, ports and keys.
ssh keys security
Updated 2026-11-27
Linux Reference note 1 min read
Start, stop, enable and inspect systemd services, and read their logs.
systemd services logs
Updated 2026-11-27
Linux Reference note 1 min read
Start, detach and re-attach sessions so long jobs survive a dropped SSH connection.
tmux ssh terminal
Updated 2026-11-27
Linux Reference note 1 min read
Create users, manage group membership, grant sudo and lock accounts.
users groups sudo
Updated 2026-11-27
Networking Reference note 1 min read
Headers, redirects, timing, forcing a host name or IP, and checking certificates.
curl http tls
Updated 2026-11-27
Networking Reference note 1 min read
Replace ifconfig and route with ip: show and change addresses, routes, links and neighbours.
ip network linux
Updated 2026-11-27
Networking Reference note 1 min read
Discover hosts and open ports on networks you own or are authorised to test, and read the output.
nmap scanning security
Updated 2026-11-27
Networking Reference note 1 min read
Test reachability, latency and the path to a host, and read the results correctly.
ping traceroute mtr troubleshooting
Updated 2026-11-27
Networking Reference note 1 min read
List listening sockets, connections and the owning processes.
ss ports sockets
Updated 2026-11-27
Networking Reference note 1 min read
CIDR notation, how many addresses a prefix gives, and the private ranges.
subnetting cidr ipv4
Updated 2026-11-27
Networking Reference note 1 min read
Filter by host, port and protocol, write a capture file and open it in Wireshark.
tcpdump packets troubleshooting
Updated 2026-11-27
Server administration From my setup 2 min read
What I learned running a website on an Oracle Cloud Always Free micro VM: shapes, the ARM capacity problem, the two firewalls, a reserved IP, and why I stay on the free plan.
oracle-cloud always-free vps firewall arm
Updated 2026-11-27
Parrot OS Reference note 1 min read
Why a VM is a good home for a security distribution, with the resource and network choices to make.
parrot virtualization lab
Updated 2026-11-27
Parrot OS Reference note 1 min read
A short checklist for a workstation that holds sensitive material.
parrot hardening privacy
Updated 2026-11-27
Parrot OS Reference note 1 min read
What the security edition is for, and the ground rules for testing: scope, permission and isolation.
parrot security ethics
Updated 2026-11-27
Parrot OS Reference note 1 min read
Parrot is Debian-based: update with apt, and use the project's helper where it is provided.
parrot apt updates
Updated 2026-11-27
PowerShell Reference note 1 min read
Terminating versus non-terminating errors, ErrorAction and logging to a file.
powershell errors scripting
Updated 2026-11-27
PowerShell Reference note 1 min read
Select, filter, sort and format objects with Where-Object, Select-Object and friends.
powershell pipeline objects
Updated 2026-11-27
PowerShell Reference note 1 min read
Enter-PSSession and Invoke-Command, and PowerShell over SSH for cross-platform use.
powershell remoting ssh
Updated 2026-11-27
PowerShell Reference note 1 min read
Register a daily task from the command line and check its result.
powershell scheduler automation
Updated 2026-11-27
PowerShell Reference note 1 min read
Disk space, uptime, installed updates, top memory users and open ports.
powershell admin one-liners
Updated 2026-11-27
PowerShell Reference note 1 min read
The basic data types and how to loop over them.
powershell scripting
Updated 2026-11-27
Proxmox Reference note 1 min read
Backup modes, a command-line example and how to restore, plus the rule that a backup must leave the host.
proxmox backup vzdump
Updated 2026-11-27
Proxmox Reference note 1 min read
The web interface, repositories, updates and a first look at the CLI tools.
proxmox virtualization homelab
Updated 2026-11-27
Proxmox Reference note 1 min read
Why it matters (clean shutdowns, IP display, consistent snapshots) and how to enable it.
proxmox qemu vm
Updated 2026-11-27
Proxmox Reference note 1 min read
Directory, LVM-thin, ZFS and network storage: what each is good for.
proxmox storage zfs
Updated 2026-11-27
Proxmox Reference note 1 min read
How to choose between a full virtual machine and a lightweight Linux container.
proxmox lxc kvm
Updated 2026-11-27
Python Reference note 1 min read
Arguments, options and flags, help text and a main() entry point.
python argparse cli
Updated 2026-11-27
Python Reference note 1 min read
Read and write text safely with pathlib, encodings and the json module.
python files json
Updated 2026-11-27
Python Reference note 1 min read
GET and POST with timeouts, status checks, JSON and sessions.
python requests api
Updated 2026-11-27
Python Reference note 1 min read
A unit file for a long-running script, with a restart policy, its own user and logs in the journal.
python systemd service
Updated 2026-11-27
Python Reference note 1 min read
Create, activate and reproduce an isolated environment, and why you should not pip install globally.
python venv pip
Updated 2026-11-27
Cybersecurity Reference note 1 min read
Run a read-only audit of a Linux host, read the hardening index and work through the suggestions.
lynis audit hardening
Updated 2026-11-27
Cybersecurity Reference note 1 min read
Compare the listening sockets, the firewall rules and an outside view, and remove what you do not need.
audit ports firewall
Updated 2026-11-27
Cybersecurity Reference note 1 min read
See the certificate a server presents, its dates and names, and check the chain.
tls openssl certificates
Updated 2026-11-27
Cybersecurity Reference note 1 min read
Symmetric and public-key encryption of files, detached signatures and verifying downloads.
gpg encryption signatures
Updated 2026-11-27
Cybersecurity Reference note 1 min read
A password manager, unique passwords, 2FA types ranked, and recovery planning.
passwords 2fa accounts
Updated 2026-11-27
Cybersecurity Reference note 1 min read
Keys only, no root login, limited users, fail2ban, updates and monitoring of logins.
ssh hardening security
Updated 2026-11-27
Server administration Reference note 1 min read
A minimal logrotate rule for your own log files, testing it, and what the options mean.
logs logrotate disk
Updated 2026-11-27
Server administration Reference note 1 min read
CPU, memory, disk and network checks with the standard tools, and what the numbers mean.
monitoring performance top
Updated 2026-11-27
Server administration Reference note 1 min read
Create a swap file on a small VM as a safety net against out-of-memory kills.
swap memory vm
Updated 2026-11-27
Server administration Reference note 1 min read
A service plus a timer unit, with logging in the journal and catch-up after downtime.
systemd timers scheduling
Updated 2026-11-27
Troubleshooting Reference note 1 min read
A layered checklist from DNS to the application, so you find the failing layer quickly.
troubleshooting network checklist
Updated 2026-11-27
Troubleshooting Reference note 1 min read
Expired, wrong-name, incomplete-chain and failed-renewal problems, and how to tell them apart.
tls https troubleshooting
Updated 2026-11-27
Troubleshooting Reference note 1 min read
Find out whether blocks or inodes are exhausted, what filled the disk and how to recover safely.
disk inodes troubleshooting
Updated 2026-11-27
Troubleshooting Reference note 1 min read
Is it CPU, memory, disk or network, and which process? A five-minute triage.
performance troubleshooting triage
Updated 2026-11-27
Troubleshooting Reference note 1 min read
Check ownership, mode, parent directories, SELinux/AppArmor and who the process runs as.
permissions 403 troubleshooting
Updated 2026-11-27
Ubuntu Server Reference note 1 min read
Detect a pending reboot and see which services still use old libraries.
reboot updates kernel
Updated 2026-11-27
Ubuntu Server Reference note 1 min read
What cloud-init does at first boot, how to read its status and logs, and how to re-run or disable it.
cloud-init cloud ubuntu
Updated 2026-11-27
Ubuntu Server Reference note 1 min read
Static IP, DHCP and DNS settings in /etc/netplan, and how to apply them without locking yourself out.
netplan network ubuntu
Updated 2026-11-27
Ubuntu Server Reference note 1 min read
What snaps are, the basic commands, and when to prefer the apt package.
snap apt packages
Updated 2026-11-27
Ubuntu Server Reference note 1 min read
The habit and the options: provider snapshot, LVM snapshot, or a quick copy of the files you will change.
snapshot backup change-management
Updated 2026-11-27
Ubuntu Server Reference note 1 min read
Allow SSH first, then enable ufw; common rules, rate limiting and how to read the status.
ufw firewall ubuntu
Updated 2026-11-27
VPN Reference note 1 min read
What AllowedIPs / routes decide, and when to send all traffic through the VPN.
vpn routing privacy
Updated 2026-11-27
VPN Reference note 1 min read
Local, remote and dynamic forwarding with ssh, and when this is enough instead of a VPN.
ssh tunnel forwarding
Updated 2026-11-27
VPN Reference note 1 min read
Connect your devices with a private network that works through NAT, and the trade-offs.
tailscale wireguard mesh
Updated 2026-11-27
VPN Reference note 1 min read
Generate keys, write the server and client configs and bring the tunnel up.
wireguard vpn linux
Updated 2026-11-27
VPN Reference note 1 min read
A checklist: handshake, keys, AllowedIPs, firewall, forwarding and MTU.
wireguard troubleshooting vpn
Updated 2026-11-27
Windows Reference note 1 min read
Which logs to open, how to filter them and how to query them from PowerShell.
eventviewer logs troubleshooting
Updated 2026-11-27
Windows Reference note 1 min read
ipconfig and netsh commands for stubborn connectivity and name resolution problems.
network ipconfig netsh
Updated 2026-11-27
Windows Reference note 1 min read
The usual order: DISM to repair the component store, then SFC to repair system files.
sfc dism repair
Updated 2026-11-27
Windows Reference note 1 min read
Reach the Windows recovery options and the commands that fix common boot issues.
boot recovery safe-mode
Updated 2026-11-27
Windows Reference note 1 min read
Task Manager, Resource Monitor, Reliability Monitor and startup apps, in a sensible order.
performance taskmgr resmon
Updated 2026-11-27
Windows Reference note 1 min read
ms-settings shortcuts and management consoles worth remembering.
run shortcuts admin
Updated 2026-11-27
Windows Reference note 1 min read
Search, install, upgrade and export applications from the command line.
winget packages windows
Updated 2026-11-27
No articles match. Clear filters
Categories without articles yet are hidden. New articles are added as Markdown files; see the content guide in the project documentation.