VPS Guides

ENGINEER-WRITTEN · LIVE-TESTED

The VPS playbook copied from terminals, not blogs

Eighteen guides on running a Linux server properly — sizing, hardening, tuning, backing up and recovering. Every command was executed on a live KVM instance before publication, and every guide names the distribution and plan size it was written against.

  • No affiliate links, no sponsored steps
  • Re-tested on every image change
  • Works on any KVM VPS
Server Hardening◆SSH Key Auth◆UFW & Fail2ban◆TLS Automation◆NVMe IOPS◆PHP-FPM Tuning◆Docker Compose◆Restic Backups◆Prometheus & Grafana◆Zero-Downtime Deploys◆ Server Hardening◆SSH Key Auth◆UFW & Fail2ban◆TLS Automation◆NVMe IOPS◆PHP-FPM Tuning◆Docker Compose◆Restic Backups◆Prometheus & Grafana◆Zero-Downtime Deploys◆
18
Guides Published
6
Topic Categories
11 min
Average Read
Nov 2026
Last Reviewed
Showing 18 of 18 guides
Getting StartedBeginner

First 10 Minutes on a Fresh VPS

The order of operations that matters: create a sudo user before you touch anything else, close the root door, set the clock, then add swap. Skipping a step here is what costs a weekend later.

9 min readUpdated 07 Nov 2026Ubuntu 24.04
Read guide
Getting StartedBeginner

SSH Keys, Not Passwords: Port 22 Done Properly

Generate an Ed25519 key, install it with the right ownership and permissions, verify you can still log in, and only then disable password authentication. The verification step is the one people skip.

8 min readUpdated 24 Oct 2026Any Linux
Read guide
Getting StartedBeginner

Ubuntu 24.04 Initial Setup, Line by Line

Every command explained rather than dumped, including what snap changes, why cloud-init rewrites your SSH keys on some images, and how to confirm unattended security upgrades are genuinely running.

12 min readUpdated 15 Oct 2026Ubuntu 24.04 LTS
Read guide
SecurityIntermediate

A Firewall That Actually Holds: UFW, nftables and Fail2ban

Default-deny inbound, rate-limit SSH, and understand which layer each tool sits at. Includes the IPv6 gotcha that leaves a second firewall wide open on freshly provisioned machines.

11 min readUpdated 31 Oct 2026Ubuntu / Debian
Read guide
SecurityIntermediate

TLS Automation with Let's Encrypt, Without Downtime

HTTP-01 versus DNS-01, why the reload hook matters more than the issue command, and how to prove the renewal timer works instead of discovering at 3 a.m. that it never fired.

10 min readUpdated 18 Oct 2026Nginx / Apache
Read guide
SecurityAdvanced

You Think You Were Compromised: A Triage Runbook

What to capture before you reboot, how to find persistence in cron, systemd units and authorized_keys, and the honest moment when rebuilding from a known-good snapshot beats cleaning.

16 min readUpdated 03 Nov 2026Any Linux
Read guide
PerformanceIntermediate

Reading iostat and vmstat: Finding the Real Bottleneck

Why %util lies on NVMe, what await actually measures, and how to tell disk saturation apart from CPU steal on a shared host — three commands, one decision tree.

13 min readUpdated 27 Oct 2026sysstat / procps
Read guide
PerformanceAdvanced

PHP-FPM, OPcache and MariaDB Tuning for WooCommerce

Sizing pm.max_children from real memory use instead of a blog post, the OPcache settings that actually move the needle, and InnoDB buffer pool maths for a 4 GB instance.

18 min readUpdated 09 Nov 2026PHP 8.3 / MariaDB 11
Read guide
PerformanceBeginner

What IOPS Actually Mean: NVMe, SATA and Network Storage

Queue depth, block size and why a 4K random read number without both is marketing. Then a fio test you can run yourself in ninety seconds to check what you were sold.

7 min readUpdated 12 Oct 2026fio / any VPS
Read guide
ApplicationsIntermediate

Docker Compose on a VPS: A Production-Ready Layout

Restart policies, resource limits, log rotation before the disk fills, healthchecks that gate your deployments, and the bind-mount permissions trap that only appears on the server.

14 min readUpdated 05 Nov 2026Docker 27
Read guide
ApplicationsIntermediate

Nginx Reverse Proxy for Multiple Node.js Services

One IP, several apps, correct forwarded headers, WebSocket upgrades that survive a reload, and systemd units that restart cleanly instead of leaving orphaned ports.

11 min readUpdated 21 Oct 2026Nginx / Node 22
Read guide
ApplicationsAdvanced

Realistic Self-Hosted Email on a VPS

The honest version: outbound port 25 policy, subnet reputation you inherit, the warm-up timeline, and the two configurations where running your own mail is genuinely the right call.

15 min readUpdated 30 Oct 2026Postfix / Dovecot
Read guide
NetworkingBeginner

Reverse DNS, PTR Records and Deliverability

What a PTR record proves, why a missing one pushes mail to spam, and the exact request to send your provider so it is approved the first time rather than after a follow-up.

6 min readUpdated 16 Oct 2026Any provider
Read guide
NetworkingIntermediate

Dual-Stack IPv6 on a Single VPS in 15 Minutes

Confirm the /64 is actually routed, set the address correctly without breaking your default route, open it in the firewall, and test from outside your own network — not from the box itself.

9 min readUpdated 28 Oct 2026systemd-networkd
Read guide
NetworkingAdvanced

Transit, Peering and BGP: A Plain-Language Primer

Why the same data center can be 4 ms from one network and 60 ms from yours, what an IXP actually changes, and how to read a looking glass before you pick a region.

12 min readUpdated 11 Oct 2026Concept guide
Read guide
OperationsBeginner

Snapshots Are Not Backups: A Strategy That Survives

A snapshot on the same storage fails with the storage. The 3-2-1 rule applied to a single small server, what to keep off-site, and how to schedule a restore test you will not postpone forever.

8 min readUpdated 02 Nov 2026restic / rsync
Read guide
OperationsIntermediate

Prometheus and Grafana on a Small VPS

Getting useful alerting inside a 1 GB memory budget: which exporters earn their keep, scrape intervals that do not lie, and the four alerts worth waking you up for.

13 min readUpdated 22 Oct 2026Prometheus 3
Read guide
OperationsAdvanced

Zero-Downtime Deploys with systemd and Nginx

Release directories, an atomic symlink swap, socket activation that keeps the port listening, and a rollback path that takes one command instead of one apology.

10 min readUpdated 06 Nov 2026systemd / Nginx
Read guide

No guide covers that yet

Tell us the exact task you are stuck on. If the answer is broadly useful, it becomes a published guide — and you get it before anyone else does.

Request a Guide
LEARNING PATHS

Read them in the right order

Three tracks that build on each other. Each step assumes the one before it is already done, so you never end up tuning a server you have not yet secured.

PATH 01 · 38 MIN

Fresh to Secure

A new server to a machine you can leave alone overnight.

  1. First 10 Minutes on a Fresh VPS9 min · Beginner
  2. SSH Keys, Not Passwords8 min · Beginner
  3. A Firewall That Actually Holds11 min · Intermediate
  4. TLS Without Downtime10 min · Intermediate
PATH 02 · 51 MIN

Fast Under Load

Find the real ceiling before you pay for a bigger plan.

  1. What IOPS Actually Mean7 min · Beginner
  2. Reading iostat and vmstat13 min · Intermediate
  3. WooCommerce Performance Tuning18 min · Advanced
  4. Prometheus on a Small VPS13 min · Intermediate
PATH 03 · 48 MIN

Ship Without Fear

Change production on a Friday and stay relaxed.

  1. Snapshots Are Not Backups8 min · Beginner
  2. A Production Compose Layout14 min · Intermediate
  3. Zero-Downtime Deploys10 min · Advanced
  4. Compromise Triage Runbook16 min · Advanced
SPEC DECODER

What hosting terms actually mean

Three columns that matter: what the plan card says, what it turns out to mean, and what to verify with your own eyes.

Term
What it usually means
How to check it yourself
KVM VPS
A real virtual machine with its own kernel, isolated from other tenants on the host.
Run uname -r. A containerised plan reports the host kernel instead of its own.
Guaranteed vCPU
Cores reserved for you at all times, not a credit balance that runs out under load.
Watch %st in top during a sustained compile or benchmark.
NVMe SSD
Storage on the PCIe bus rather than SATA. The interface, not the marketing word, sets your IOPS ceiling.
Time a real workload: a database import tells more than a benchmark score.
RAID-10
Striped mirrors: write speed of a stripe plus survivability of a single drive failure.
Ask which level is in use. RAID-5/6 buys capacity by sacrificing write IOPS.
Unmetered bandwidth
You are not billed per gigabyte. It does not remove the port speed cap or a fair-use ceiling.
Confirm the published port size and what happens at sustained saturation — throttle or shutdown.
Free backups
Often a same-node snapshot: useful against your mistake, useless against a lost drive or account.
Ask where the copy physically lives, then restore one file to prove it works.
99.9% uptime
Roughly 43 minutes of permitted downtime per month, before you read how credits are claimed.
Check the measurement window, what counts as excluded, and the credit cap.
COPY-PASTE RECIPES

Three blocks we run on every server

Short, reviewed and safe to read before you paste. Replace every value in angle brackets with your own, and take a snapshot first.

Lock Down SSH

adduser deploy && usermod -aG sudo deploy
rsync -a --chown=deploy:deploy ~/.ssh /home/deploy
ufw allow OpenSSH && ufw enable
sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication no/' \
  /etc/ssh/sshd_config
systemctl restart ssh
# keep the first session open while you test a second one

The last line is the whole point: never close your working terminal until a fresh login succeeds.

Diagnose a Slow Server

uptime
vmstat 1 10
iostat -xz 2
free -h
df -hT && df -i
ps aux --sort=-%cpu | head -8
journalctl -p err --since "30 min ago" --no-pager
# high %wa is storage, %st is the host, idle CPU with high load is lock contention

Measure before you change anything. Most "the VPS is slow" tickets are one runaway process or a full inode table.

Nightly Off-Site Backup

restic init -r sftp://backup@offsite:/srv/restic
export RESTIC_PASSWORD_FILE=~/.restic_pass
restic backup /var/www /etc /home
restic forget --keep-daily 7 --keep-weekly 5 --prune
restic check --read-data-subset=5%
crontab -e
02 3 * * * /usr/local/bin/nightly-backup.sh

The verify step is what separates a backup from a hope. Off-site storage is billed by its own provider, not included in a VPS plan.

ABOUT THIS LIBRARY

How the guides are maintained

Are these guides tested on real servers?

Yes. Every command was run on a live KVM instance before publication, on the Ubuntu or Debian version named at the top of the guide. When a distribution update changes the behaviour of a step, the guide is re-tested and the review date is bumped.

Do I need a TavoroHost server to follow them?

No. The library is written for any KVM-based Linux VPS and is not tied to our control panel. Where a step depends on provider-side features — reverse DNS, snapshots, network firewall rules — we say so explicitly rather than assuming your host behaves like ours.

Why commands instead of screenshots?

Screenshots go stale within a release cycle and cannot be copied, diffed or audited. Commands can be pasted into a terminal, compared against what you already run and reviewed by a colleague, which is what production work actually requires.

Do you accept payment for featuring a tool or plugin?

No. There are no sponsored placements and no affiliate links anywhere in this library. Where a third-party project's own documentation is better than ours, the guide points there rather than paraphrasing it badly.

What happens to a guide that becomes outdated?

It is unpublished rather than left online with instructions that no longer work. A guide we cannot verify is worse than no guide at all, because you would follow it believing it had been checked.

STUCK ON A STEP

A guide gets you close. A human gets you home.

If a runbook stops making sense halfway — a permission you did not expect, a service that will not come back, a migration window you cannot afford — send the exact output you are seeing, your distribution and what changed just before. Real logs beat real guesses.

  • First reply within 60 business minutes
  • Read by an engineer
  • No obligation to order

Guides describe third-party software and services, which remain the trademarks of their respective owners. Commands are provided for guidance, without warranty of results — take a snapshot and test on a non-production instance before applying anything to a live server. Never paste a command you have not read. All hosting prices are quoted and invoiced in USD, any applicable tax is calculated at checkout, and new subscriptions carry a 30-day money-back guarantee refunded to the original payment method. No guide on this page implies a discount, a refund entitlement or a variation to the published terms.