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

WireGuard and Tailscale VPN on a Linux VPS

Set up WireGuard from scratch or deploy Tailscale for managed VPN access on Ubuntu 24.04 and Debian 12, with DNS leak prevention, PreSharedKey hardening, and a neutral comparison including Headscale.

17 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

Docker Log Rotation: Stop Logs from Filling Your VPS Disk

Docker's default log driver stores unlimited data. A single busy container can fill a 50GB VPS disk in days. This tutorial configures global log rotation, per-service Compose overrides, automated cleanup, and disk usage monitoring.

10 min readRead
Tutorial

Secure Your AI Agent Server: Sandboxing, Firewalls, and Monitoring

AI agents execute arbitrary actions, consume unpredictable resources, and process untrusted input by design. This guide maps each threat to a concrete Linux control.

12 min readRead
Tutorial

How to Use Vim on a Linux VPS

A practical Vim tutorial built around real server administration tasks. Learn modes, navigation, editing, search and replace, splits, .vimrc configuration, and workflows for editing Nginx, SSH, and Docker Compose files over SSH.

15 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
Tutorial

SSH Hardening on a Linux VPS: Complete sshd_config Security Guide

Lock down SSH on your Debian 12 or Ubuntu 24.04 VPS. Ed25519 key generation, sshd_config hardening, ProxyJump bastion setup, cipher hardening, and ssh-audit verification. Tested on Debian 12 and Ubuntu 24.04.

11 min readRead
Tutorial

How to Use tmux on a Linux VPS

Learn how to install and use tmux on your Linux VPS for persistent terminal sessions, split-pane workflows, and surviving SSH disconnects. Covers Debian 12 and Ubuntu 24.04.

12 min readRead