Ubuntu tutorials
Step-by-step Ubuntu server tutorials: upgrade to Ubuntu 26.04 LTS, install Docker, set up SSH keys, and run game servers, AI tools, and a VPN.
21 tutorials
- 10 min read
How to Install Docker and Docker Compose on Ubuntu 24.04 and 26.04
Install Docker on Ubuntu 24.04 or 26.04 with the Compose plugin from Docker's apt repository, bind container ports to localhost, and run a stack in 9 steps.
Read tutorial - 12 min read
How to Generate an SSH Key on Windows, macOS, and Linux
Generate SSH keys with ssh-keygen on Windows 11, macOS, or Linux, or with PuTTYgen, then copy the public key to a server and log in with it in 7 steps.
Read tutorial - 13 min read
How to Upgrade Ubuntu 24.04 to 26.04 LTS on a VPS
Upgrade Ubuntu 24.04 to 26.04 LTS over SSH in 10 steps: back up, install updates, open the port 1022 fallback, run do-release-upgrade, then verify services.
Read tutorial - 15 min read
How to Open a Private Dashboard with an SSH Tunnel (Port Forwarding)
Open a dashboard bound to 127.0.0.1 on your server through an SSH tunnel from Windows, macOS, or Linux, save it in ~/.ssh/config, and keep it alive in 6 steps.
Read tutorial - 15 min read
How to Copy Files to a VPS with rsync and scp (Windows, Mac and Linux)
Copy files to a VPS from Windows, Mac or Linux with rsync and scp in 9 steps: dry runs, excludes, resumed copies and a database move, plus a nightly cron job.
Read tutorial - 14 min read
How to Install and Configure Fail2ban on Ubuntu 24.04 and 26.04
Install Fail2ban on Ubuntu 24.04 or 26.04 and protect SSH in 7 steps: journal backend, UFW bans, incremental ban times, the recidive jail, and unban commands.
Read tutorial - 13 min read
How to Install and Secure OpenClaw on a VPS (Ubuntu 24.04)
Install OpenClaw (formerly Clawdbot and Moltbot) on an Ubuntu 24.04 VPS as an unprivileged user, keep port 18789 on loopback, and connect Telegram.
Read tutorial - 11 min read
How to Install OpenCode on Ubuntu 24.04 with API or Ollama Models
Install OpenCode 2 on Ubuntu 24.04 in 8 steps: run it as a separate user, connect an API key or a local Ollama model, use tmux, and limit shell access.
Read tutorial - 11 min read
How to Install Ollama on Ubuntu 24.04 with Open WebUI (CPU Only)
Install Ollama on Ubuntu 24.04 without a GPU, keep its API on 127.0.0.1:11434, and run Open WebUI in Docker behind Nginx, HTTPS and UFW in 8 steps.
Read tutorial - 14 min read
How to Install Codex CLI on a Linux Server (Ubuntu 24.04)
Install Codex CLI on a Linux server (Ubuntu 24.04) in 10 steps: a non-root user, the bubblewrap sandbox, device code or API key login, tmux and codex exec.
Read tutorial - 14 min read
How to Run Claude Code on an Ubuntu 24.04 VPS with tmux
Run Claude Code on an Ubuntu 24.04 VPS in 9 steps: native install as a non-root user, headless login, a tmux session, and Remote Control from your phone.
Read tutorial - 12 min read
How to Self-Host n8n with Docker Compose on Ubuntu 24.04
This n8n Docker Compose setup runs n8n 2.41.6 on Ubuntu 24.04 with PostgreSQL 18, an external task runner and Caddy HTTPS in 8 steps, plus updates and backups.
Read tutorial - 14 min read
How to Install Nginx Proxy Manager with Docker on Ubuntu 24.04
Install Nginx Proxy Manager 2.16.0 with Docker on Ubuntu 24.04 in 9 steps: Let's Encrypt HTTPS, access lists, a shared Docker network and a private admin port.
Read tutorial - 14 min read
How to Host a TeamSpeak 6 Server on Ubuntu 24.04 with Docker
Host a TeamSpeak server on Ubuntu 24.04 with the official TeamSpeak 6 Docker image: open UDP 9987 and TCP 30033, claim admin, and secure ServerQuery in 8 steps.
Read tutorial - 13 min read
How to Install SteamCMD on Ubuntu 24.04
Install SteamCMD on Ubuntu 24.04 in 7 steps: enable multiverse and i386, accept the Steam license, add a steam user, and download servers with app_update.
Read tutorial - 13 min read
How to Make a Minecraft Server on Ubuntu 24.04 (Paper, Java 25)
How to make a Minecraft server on Ubuntu 24.04: install Java 25 and Paper, run it with systemd, open TCP port 25565 in UFW, and back up the world daily.
Read tutorial - 14 min read
How to Make a Modded Minecraft Server on Ubuntu 24.04
Make a modded Minecraft server on Ubuntu 24.04 with Fabric or NeoForge: match Java, add mods or a server pack, run it under systemd and open port 25565.
Read tutorial - 12 min read
How to Host a Palworld Dedicated Server on Ubuntu 24.04
Host a Palworld dedicated server on Ubuntu 24.04 with SteamCMD and systemd: open UDP port 8211, set PalWorldSettings.ini, and add daily restarts and backups.
Read tutorial - 14 min read
How to Host a Valheim Dedicated Server on Ubuntu 24.04
Host a Valheim dedicated server on Ubuntu 24.04 with SteamCMD and systemd: turn on crossplay, open UDP ports 2456-2457, and back up the world before updates.
Read tutorial - 14 min read
How to Host a Project Zomboid Dedicated Server on Ubuntu 24.04
Host a Project Zomboid dedicated server on Ubuntu 24.04 with SteamCMD and systemd: set the Java heap, open UDP 16261 and 16262, and back up the world.
Read tutorial - 12 min read
How to Set Up a WireGuard VPN Server on Ubuntu 24.04
Set up a WireGuard server on Ubuntu 24.04: generate keys, write wg0.conf, add NAT in UFW, open UDP port 51820, and connect a phone by QR code in 9 steps.
Read tutorial