VPS know-how & server operations
Tutorials, optimization and server operations for developers and sysadmins. Practical, concise, and well-sourced.

Install PostgreSQL on a Debian 12 VPS
A step-by-step guide to install and configure PostgreSQL 16 on Debian 12. Secure your database, verify the setup, and get production-ready in minutes.

How to connect to a Linux VPS for the first time via SSH
A step-by-step guide for beginners on connecting to your first Linux VPS using SSH from Windows, macOS, and Linux, with key setup, connection, and verification steps.

Set up a Prometheus Alertmanager pipeline on a VPS
Learn to set up a complete Prometheus Alertmanager pipeline on a Linux VPS. Silent thresholds, route alerts to Telegram, and get notified fast.

Configure swap and optimize memory on a low-RAM VPS
A step-by-step guide to setting up swap memory and tuning kernel parameters on a low-RAM Linux VPS for stable performance.

Security audit and hardening with Lynis on a VPS
Run a full Lynis security audit on your Linux VPS to find vulnerabilities, harden the system, and apply professional pentest-level fixes.

Encrypt a VPS disk with LUKS on Ubuntu 24.04
Learn how to encrypt a VPS root disk with LUKS on Ubuntu 24.04. Full step-by-step guide including cryptsetup, boot setup, and verify commands for sysadmins.

Self-Hosting Local LLMs on a VPS with Ollama
A practical guide to running open models like Llama 3.3 and Qwen 2.5 on your own VPS with Ollama, including CPU sizing, quantization RAM math, and securing the API.

Hardening SSH on a New VPS: Keys, Ports, fail2ban, and CrowdSec
A layered SSH hardening walkthrough for a fresh VPS: key-only auth, disabling root, a non-default port, and fail2ban or CrowdSec.

Set Up a WireGuard VPN on Your VPS in 10 Minutes
A step-by-step guide to a working WireGuard tunnel on your VPS: keys, server and client config, NAT, firewall, and a mobile QR code.

A Production-Ready Docker Compose Setup on a VPS with Rootless Docker
Install Docker Engine and Compose v2 in rootless mode, then run a hardened stack with restart policies, healthchecks, resource limits, and log rotation.

Reverse Proxy With Automatic HTTPS Using Caddy
Install Caddy v2 on a VPS and reverse-proxy your apps with automatic Let's Encrypt HTTPS, compression, and security headers in a few lines.

Tuning Linux and NVMe Storage for High-IO Workloads on a VPS
A measurement-driven guide to tuning NVMe storage on a VPS with fio, iostat, I/O schedulers, mount options, and dirty-page sysctls.

Self-Hosting n8n for Workflow Automation on a VPS
Run n8n on a VPS with Docker Compose and PostgreSQL: webhook, reverse proxy, persistence, security, and backups done right.