Tutorials

Tutorial

How to Set Up a Linux VPS Firewall with UFW and nftables

Configure a default-deny firewall on your Linux VPS using either UFW or nftables. Two paths, one goal: only the ports you choose stay open.

14 min readRead
Tutorial

Docker Compose Resource Limits, Healthchecks, and Restart Policies

Your Compose file works in dev but is not production-ready. Learn how to add memory/CPU limits, healthchecks, restart policies, and startup ordering to protect your VPS from OOM kills and cascading failures.

12 min readRead
Tutorial

Docker Security Hardening: Rootless Mode, Seccomp, AppArmor on a VPS

Seven hardening layers for Docker on a VPS. Each section explains the threat, shows the fix with CLI and Compose syntax, and verifies it works.

14 min readRead
Tutorial

Nginx Performance Tuning on a VPS

Tune Nginx for production traffic on a Linux VPS. Covers worker processes, compression, caching, HTTP/2, TLS optimization, kernel sysctl, and benchmarking with wrk.

12 min readRead
Tutorial

Run Claude Code on a VPS: Install, Secure, and Persist Sessions

Set up Claude Code on a remote Linux server with headless authentication, tmux session persistence, and proper security hardening. Complete setup guide.

10 min readRead
Tutorial

How to Use GNU Screen on a Linux VPS

Learn GNU Screen from installation to daily use. Manage sessions, split regions, configure .screenrc, and keep processes running after SSH disconnects on Debian 12 and Ubuntu 24.04.

13 min readRead