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

How to Enable Swap on a Low-RAM VPS
A practical guide to adding swap space on a low-RAM VPS so Linux stops killing processes, with exact commands and verification steps for Ubuntu 24.04 and Debian 12.

How to configure the UFW firewall on an Ubuntu VPS
Lock down an Ubuntu VPS with UFW: default deny, allow SSH, rate limiting, and verify rules. Step-by-step commands for a secure 2026 setup.

How to benchmark NVMe disk speed on a VPS
A practical guide to benchmarking NVMe disk speed on a VPS with fio and dd. Learn the exact commands, how to read the metrics, and why testing with fio's keep-io-depth matters.

Why my VPS runs out of RAM and how to fix it
Find why your VPS runs out of RAM, diagnose top memory consumers, and reclaim gigabytes with practical fixes for Ubuntu 24.04 and Debian 12.

How to reduce memory usage on a Linux VPS
Learn how to reduce memory usage on a Linux VPS with practical steps: tuning MySQL/MariaDB, optimizing PHP-FPM, configuring swap, and identifying RAM hogs.

How to optimize MariaDB on a 2GB RAM VPS
A practical guide to tuning MariaDB on a 2GB RAM VPS: InnoDB buffer pool, query cache, threads, swap, and Docker limits, with verify steps for each change.

How to tune MySQL for a low-RAM VPS
Cut MySQL memory usage on a 1GB-2GB VPS: buffer pool, per-session buffers, performance_schema, swap. Run it on Ubuntu 24.04 with verify commands.

Configure SPF, DKIM, and DMARC on a mail VPS
Hướng dẫn cấu hình SPF, DKIM, DMARC trên VPS mail để email không vào spam, tăng tỷ lệ gửi thành công. Kèm lệnh kiểm tra và xử lý lỗi.

Set up rDNS on an SMTP VPS in 2026
A practical walkthrough to set up rDNS on an SMTP VPS, why it matters for email deliverability, what to request from your provider, and how to verify it with dig and host.

Configure a GitLab Runner for CI/CD on a Linux VPS
Step-by-step guide to install and configure a GitLab Runner for CI/CD on a Linux VPS. Covers Docker executor, registration, concurrency tuning, and common troubleshooting.

Self-host GitLab CE on a VPS in 2026, step by step
A hands-on guide to installing GitLab CE on an Ubuntu 24.04 VPS with Docker Compose. You get a working instance with HTTPS, plus the memory and sizing warnings most tutorials skip.

Install Node.js on an Ubuntu VPS, Step by Step
A practical guide to installing the current Node.js LTS on Ubuntu 24.04 with NVM, including PM2, firewall rules and verification steps for a production VPS.

How to install and configure Redis on a Linux VPS
Step-by-step guide to install Redis on an Ubuntu 24.04 VPS: apt install, systemd, persistence, security, firewall and verify steps for production use.