~/tutorials $

Linux server tutorials

Step-by-step tutorials for a Linux server: VPNs, web servers, databases, containers, security and backups. Each one names the distributions it was tested on.

11 of 45 tutorials tested on Debian 13 Stable

  1. Cron vs systemd timers: how to schedule jobs on Linux

    Schedule a recurring job both ways, with a crontab line and with a systemd timer, and pick the right one for logging, missed runs and random delays.

    beginner · 20 min · Ubuntu 24.04 LTS, Debian 13 Stable, AlmaLinux 10

  2. How to create a sudo user and disable root login on Ubuntu and Debian

    Add a normal user with sudo rights on Ubuntu or Debian, give it your SSH key, then stop root logging in over SSH without locking yourself out.

    beginner · 15 min · Ubuntu 24.04 LTS, Debian 13 Stable

  3. How to host a static website with nginx on Ubuntu or Debian

    Serve a static site with nginx from your own server, with clean URLs, gzip, HTTP/2, the right caching headers and one-command deploys with rsync.

    beginner · 25 min · Ubuntu 24.04 LTS, Debian 12 Oldstable, Debian 13 Stable

  4. How to point a domain at your VPS (A and AAAA records)

    Point your domain at your server with A and AAAA records, add www, pick a sensible TTL, and check with dig that the change has really taken effect.

    beginner · 15 min · Debian 13 Stable

  5. How to read logs with journalctl

    Find the log lines you need with journalctl, by service, time, priority and boot, keep logs across reboots, and cap how much disk the journal uses.

    beginner · 15 min · Ubuntu 24.04 LTS, Debian 13 Stable, AlmaLinux 10

  6. How to set the time zone, hostname and NTP on a Linux server

    Set a server's time zone with timedatectl, give it a proper hostname, and keep its clock in sync with chrony or systemd-timesyncd, then check it really is.

    beginner · 10 min · Ubuntu 24.04 LTS, Debian 13 Stable, AlmaLinux 10

  7. How to install CrowdSec on Ubuntu and Debian

    Install the CrowdSec engine and its nftables firewall bouncer, watch SSH and nginx logs, allowlist your own addresses, and see what it blocks.

    intermediate · 20 min · Ubuntu 24.04 LTS, Debian 13 Stable

  8. How to send email from a VPS through an SMTP relay

    Send your server's mail (alerts, cron output, app email) through an SMTP relay on port 587 with Postfix, so it's delivered without running a full mail server.

    intermediate · 20 min · Debian 13 Stable

  9. How to upgrade Debian 12 (bookworm) to Debian 13 (trixie)

    Upgrade a Debian 12 server to Debian 13 in place, the way the release notes describe, with a snapshot to fall back on and checks before and after.

    intermediate · 45 min · Debian 12 Oldstable, Debian 13 Stable

  10. How to use Caddy as a reverse proxy for multiple sites and apps

    One Caddyfile that serves several domains and apps on one server, each with its own automatic HTTPS certificate, path routing, headers, logs and basic auth.

    intermediate · 30 min · Ubuntu 24.04 LTS, Debian 12 Oldstable, Debian 13 Stable

  11. How to write a systemd service for your app

    Run your own program as a systemd service that starts at boot, restarts when it crashes, runs as its own user, reads an env file and is sandboxed.

    intermediate · 20 min · Ubuntu 24.04 LTS, Debian 13 Stable, AlmaLinux 10

Be first when orders open

Join the waitlist and we'll send you one email when VPSNine launches. Pick a plan if you already know which one you want, and we'll size the first servers around it.

  • One email, on launch day
  • Monthly or yearly, no lock-in
  • 14-day money-back guarantee