All topics

Ubuntu 24.04

51 tutorials · 1 guides

Tutorials

Beginner

Generate SSH Keys on Ubuntu 24.04 and 26.04: Ed25519 Setup Guide

Generate an Ed25519 SSH key on Ubuntu 24.04 or 26.04, copy it to a Raff VM, use ssh-agent, turn off password login safely, and rotate keys. Tested on both.

9 min read
SSH KeysUbuntu 24.04Ubuntu 26.04
Beginner

How to Install pip on Ubuntu 24.04 and 26.04 with Python venv

Install pip on a Raff Ubuntu 24.04 or 26.04 VM, create a Python venv, fix the externally-managed-environment error, use requirements files, and add pipx.

10 min read
Pythonpipvenv
Intermediate

How to Install Certbot for Nginx on Ubuntu 24.04 and 26.04 with Let's Encrypt

Install Certbot for Nginx on a Raff Ubuntu 24.04 or 26.04 VM, issue a Let's Encrypt certificate, redirect HTTP to HTTPS, and test renewal. Tested on both.

10 min read
NginxCertbotLet's Encrypt
Beginner

How to Install Nginx on Ubuntu 24.04 and 26.04: Server Blocks and UFW

Install Nginx on a Raff Ubuntu 24.04 or 26.04 VM. Covers the package versions, UFW without SSH lockout, a server block, hiding the version, and logs.

12 min read
NginxUbuntu 24.04Ubuntu 26.04
Beginner

How to Install Node.js 24 or 26 LTS on Ubuntu 24.04 and 26.04

Install Node.js 24 or 26 LTS and npm on a Raff Ubuntu 24.04 or 26.04 VM with NodeSource or nvm. Tested on both: build tools, a localhost test, and Express.

10 min read
Node.jsNode.js 24 LTSNode.js 26 LTS
Beginner

How to Install Docker and Compose on Ubuntu 24.04 and 26.04

Install Docker Engine, Compose and Buildx on a Raff Ubuntu 24.04 or 26.04 VM. Tested on both: official repository, hello-world check, and the UFW port trap.

10 min read
DockerUbuntu 24.04Ubuntu 26.04
Intermediate

How to Upgrade Ubuntu 24.04 to 26.04 LTS with a Safe Rollback

Upgrade a Raff Ubuntu 24.04 VM to 26.04 LTS with do-release-upgrade. Covers a snapshot rollback, the PHP-FPM socket fix, and Docker's disabled repository.

Ubuntu 26.04Ubuntu 24.04Upgrade
Intermediate

How to Connect n8n to Ollama for Local AI Workflows

Add Ollama to a self-hosted n8n on Ubuntu 24.04, connect them with the right Base URL, and run an AI chain and an AI agent on a CPU server. Tested.

14 min read
n8nOllamaDocker Compose
Intermediate

How to Install MongoDB on Ubuntu 24.04 (Secure Setup)

Install MongoDB 8.3 on Ubuntu 24.04 from the official repository. Enable authentication, secure port 27017, and verify backup and restore safely.

25 min read
MongoDB 8.3Ubuntu 24.04NoSQL
Intermediate

How to Install Redis on Ubuntu 24.04 (Secure Setup)

Install Redis 7.0 on Ubuntu 24.04, configure ACL users, restrict port 6379, set memory limits and persistence, then verify RDB backup and restore safely.

24 min read
Redis 7.0Ubuntu 24.04ACL
Beginner

How to Install PostgreSQL 18 on Ubuntu 24.04 Securely

Install PostgreSQL 18 on a Raff Ubuntu 24.04 VM. Add PGDG, create a database role, verify SCRAM, secure port 5432, and test backup and restore safely.

21 min read
PostgreSQLUbuntu 24.04PostgreSQL 18
Beginner

How to Install MySQL on Ubuntu 24.04 (Secure Setup)

Install MySQL 8.0 on a Raff Ubuntu 24.04 VM. Secure root access and port 3306, create an app user, verify CRUD, and test backup and restore safely.

25 min read
MySQL 8.0Ubuntu 24.04Database
Intermediate

How to Install MariaDB on Ubuntu 24.04 (Secure Setup)

Install MariaDB 10.11 on Ubuntu 24.04, secure local access and port 3306, create an app user, test backup and restore, and handle updates safely.

24 min read
MariaDB 10.11Ubuntu 24.04Database
Intermediate

How to Self-Host Supabase on Ubuntu 24.04 with Docker Compose

Self-host Supabase on Ubuntu 24.04 with the versioned Docker Compose stack, Caddy HTTPS, secure keys, Postgres and Storage backups, restores, and safe updates.

29 min read
SupabaseDocker ComposeUbuntu 24.04
Intermediate

How to Set Up WireGuard VPN on Ubuntu 24.04 for Private Access

Set up WireGuard on Ubuntu 24.04 for private split-tunnel access. Configure keys, AllowedIPs, UFW, keepalive, private SSH, peers, and verification.

24 min read
WireGuardUbuntu 24.04VPN
Intermediate

How to Deploy Laravel 13 on Ubuntu 24.04 with Nginx and PHP-FPM

Deploy Laravel 13 on Ubuntu 24.04 with Nginx and PHP 8.3-FPM, HTTPS, secure file permissions, production caches, queues, scheduler, and health checks.

30 min read
Laravel 13Ubuntu 24.04Nginx
Intermediate

How to Host an App on a VPS with Cloudflare and Nginx

Host a Node.js app on an Ubuntu VPS behind Cloudflare with Nginx, proxied DNS, Full (strict) TLS, safe UFW rules, systemd, and reboot verification.

18 min read
CloudflareVPSNginx
Intermediate

Self-Host Invoice Ninja on Ubuntu 24.04 with Docker Compose

Self-host Invoice Ninja 5.13.37 on Ubuntu 24.04 with Docker Compose, MySQL, Redis, Caddy HTTPS, built-in queues/scheduler, backups, restores, and safe updates.

28 min read
Invoice NinjaDocker ComposeUbuntu 24.04
Intermediate

How to Deploy Odoo on Ubuntu 24.04 with Docker Compose

Deploy Odoo 19 on Ubuntu 24.04 with Docker Compose, PostgreSQL 15, Caddy HTTPS, workers, database lockdown, matched backups, restores, and safe updates.

28 min read
Odoo 19Docker ComposeUbuntu 24.04
Intermediate

Deploy Vaultwarden on Ubuntu 24.04 with Docker Compose

Deploy Vaultwarden on Ubuntu 24.04 with Docker Compose, Caddy HTTPS, locked-down signup/admin access, consistent backups, restores, and safe updates.

26 min read
VaultwardenDocker ComposeUbuntu 24.04
Intermediate

How to Install Ghost CMS on Ubuntu 24.04 with Nginx

Install Ghost CMS on Ubuntu 24.04 with Nginx, Node.js 22, MySQL 8, Ghost-CLI, HTTPS, backups, rollback, and current Ghost 6 deployment guidance.

25 min read
Ghost CMSUbuntu 24.04Nginx
Intermediate

Sync Files to Raff Object Storage with rclone (Step-by-Step)

Use rclone with Raff S3-compatible Object Storage on Ubuntu 24.04. Configure access, copy files, preview sync deletions, and verify backups and restores.

31 min read
rcloneS3Object Storage
Intermediate

How to Self-Host Plausible Analytics on Ubuntu 24.04 with Docker

Self-host Plausible Analytics CE on Ubuntu 24.04 with Docker Compose, automatic HTTPS, protected secrets, health checks, backups, and safe upgrades.

21 min read
Plausible AnalyticsPlausible CEDocker Compose
Intermediate

How to Deploy Next.js on Ubuntu 24.04 with PM2 and Nginx

Deploy a Next.js app on Ubuntu 24.04 with Node.js 24 LTS, PM2, Nginx, HTTPS, loopback-only app ports, reboot persistence, and secure production checks.

18 min read
Next.jsNode.jsPM2
Intermediate

How to Install Coolify on Ubuntu 24.04

Install Coolify on Ubuntu 24.04 with the official installer, secure direct-access ports, configure HTTPS domains, deploy an app, and plan backups and updates.

22 min read
CoolifyUbuntu 24.04Docker
Intermediate

FastAPI Deployment on Ubuntu 24.04 with Uvicorn and Nginx

Deploy FastAPI on Ubuntu 24.04 with Python 3.12, Uvicorn, systemd, Nginx, trusted proxy headers, HTTPS, safe UFW setup, and reboot verification.

19 min read
FastAPIDeploymentUvicorn
Beginner

How to Set Up a Caddy Reverse Proxy on Ubuntu 24.04

Set up Caddy as a reverse proxy on Ubuntu 24.04 with automatic HTTPS, localhost-only upstreams, safe firewall rules, WebSockets, logs, and rollback.

19 min read
CaddyReverse ProxyUbuntu 24.04
Beginner

How to Connect Two Raff VMs with a Private VPC Network

Connect two Raff VMs over a private VPC on Ubuntu 24.04. Verify private routing, firewall rules, service access, throughput tests, and safe cleanup.

17 min read
VPCPrivate NetworkingUbuntu 24.04
Intermediate

How to Set Up SSH 2FA (MFA) on Ubuntu 24.04

Set up SSH two-factor authentication on Ubuntu 24.04 with SSH keys plus TOTP, PAM, OpenSSH, safe rollback, recovery codes, and end-to-end login verification.

17 min read
SSH2FAMFA
Intermediate

How to Set Up an SFTP-Only User on Ubuntu 24.04 with Chroot

Set up an SFTP-only user on Ubuntu 24.04 with OpenSSH chroot, internal-sftp, safe directory permissions, forwarding restrictions, and verification.

18 min read
SFTPOpenSSHUbuntu 24.04
Intermediate

How to Deploy Django with Gunicorn and Nginx on Ubuntu 24.04

Deploy Django on Ubuntu 24.04 with Gunicorn, Nginx, systemd, static files, secure environment variables, HTTPS settings, and end-to-end production checks.

18 min read
DjangoGunicornNginx
Beginner

How to Use Raff S3-Compatible Object Storage with AWS CLI

Use AWS CLI with Raff S3-compatible object storage on Ubuntu 24.04. Configure scoped credentials, transfer files, sync safely, and create presigned URLs.

16 min read
Object StorageS3AWS CLI
Intermediate

How to Deploy a Multi-Container App with Docker Compose on Ubuntu 24.04

Deploy a multi-container Docker Compose app on Ubuntu 24.04 with Node.js, PostgreSQL, Redis, secrets, health checks, private networking, backups, and persistence.

19 min read
Docker ComposeUbuntu 24.04Docker
Intermediate

How to Install PM2 and Deploy Node.js on Ubuntu 24.04

Install PM2 on Ubuntu 24.04 and deploy a Node.js app with cluster mode, graceful reloads, systemd startup, private ports, Nginx, and safe cleanup.

18 min read
Node.jsPM2Ubuntu 24.04
Intermediate

How to Automate Rsync Backups with Cron on Ubuntu 24.04

Automate rsync backups on Ubuntu 24.04 with cron, safe --delete dry runs, locking, retention, integrity checks, restore testing, and troubleshooting.

18 min read
BackupRsyncCron
Beginner

How to Install Caddy Web Server on Ubuntu 24.04 with HTTPS

Install Caddy web server on Ubuntu 24.04, serve a static site, enable automatic HTTPS, validate the Caddyfile, troubleshoot TLS, and roll back safely.

16 min read
CaddyUbuntu 24.04Web Server
Intermediate

Install Prometheus and Grafana on Ubuntu 24.04

Install Prometheus 3.13 LTS, Node Exporter and Grafana on Ubuntu 24.04 with localhost-only web ports, SSH-tunneled dashboards, live metrics and verification.

19 min read
PrometheusGrafanaNode Exporter
Beginner

How to Install Portainer on Ubuntu 24.04 with Docker

Install Portainer CE on Ubuntu 24.04 with Docker, Nginx, trusted HTTPS, private admin access, backups, secure updates, and verification steps.

17 min read
PortainerDockerUbuntu 24.04
Intermediate

How to Deploy Gitea with Docker Compose on Ubuntu 24.04

Deploy Gitea on Ubuntu 24.04 with Docker Compose, PostgreSQL, Nginx, HTTPS, SSH clone access, backups, upgrades, and verification steps.

18 min read
GiteaDocker ComposeUbuntu 24.04
Beginner

How to Install fail2ban on Ubuntu 24.04 for SSH Protection

Install and configure fail2ban on Ubuntu 24.04 for SSH brute-force protection with systemd journal monitoring, safe ban testing, tuning, and rollback.

16 min read
fail2banUbuntu 24.04SSH Security
Intermediate

How to Install WireGuard on Ubuntu 24.04 as a Full-Tunnel VPN

Install WireGuard on Ubuntu 24.04 as a full-tunnel VPN. Configure IPv4 forwarding, NAT, DNS, UFW, AllowedIPs 0.0.0.0/0, and verify public egress.

22 min read
WireGuardUbuntu 24.04VPN
Intermediate

How to Build a Remote Development VM with code-server and Tailscale

Build a private remote development VM on Ubuntu 24.04 with code-server and Tailscale Serve, HTTPS, localhost binding, backups, and safe updates.

20 min read
code-serverTailscaleRemote Development
Intermediate

How to Harden an Ubuntu 24.04 Server

Harden Ubuntu 24.04 with SSH keys, safe OpenSSH drop-ins, UFW, automatic security updates, AppArmor, access auditing, logging, and recovery checks.

24 min read
Ubuntu 24.04Server HardeningSecurity
Intermediate

How to Set Up a LEMP Stack on Ubuntu 24.04 Securely

Set up a secure LEMP stack on Ubuntu 24.04 with Nginx, PHP 8.3, MariaDB, dedicated database credentials, HTTPS, checks, and rollback on a Raff Linux VM.

16 min read
LEMPUbuntu 24.04Nginx
Intermediate

How to Install Open WebUI with Ollama on Ubuntu 24.04

Install Open WebUI with Ollama on Ubuntu 24.04 using private Docker Compose networking, Caddy HTTPS, pinned versions, backups, and safe updates.

21 min read
Open WebUIOllamaDocker Compose
Intermediate

How to Self-Host n8n on Ubuntu 24.04 with Docker Compose

Self-host n8n on Ubuntu 24.04 with Docker Compose, PostgreSQL, Nginx, HTTPS, safe firewall setup, backups, restore verification, and updates.

20 min read
n8nDocker ComposePostgreSQL
Beginner

How to Set Up UFW Firewall on Ubuntu 24.04

Set up UFW on Ubuntu 24.04 without losing SSH access. Configure IPv4/IPv6 rules, ports, source restrictions, logging, rule order, and Docker caveats.

19 min read
UFWUbuntu 24.04Firewall
Intermediate

How to Install WordPress on Ubuntu 24.04 with Nginx

Install WordPress on Ubuntu 24.04 with Nginx, PHP 8.3, MariaDB, HTTPS, restricted file permissions, backups, and secure setup on a Raff Linux VM.

18 min read
WordPressUbuntu 24.04Nginx
Intermediate

How to Run OpenClaw on a VPS: Ubuntu 24.04 Setup with Telegram

Run OpenClaw 24/7 on an Ubuntu 24.04 VPS: what size server it needs, install, the Gateway service, Telegram, backups, updates and removal. Tested November 2026.

22 min read
OpenClawAI AgentVPS
Intermediate

How to Deploy Uptime Kuma with Docker on Ubuntu 24.04

Deploy Uptime Kuma 2 with Docker Compose on Ubuntu 24.04 using localhost-only port 3001, Caddy HTTPS, monitors, status pages, backups, and safe updates.

22 min read
Uptime KumaDocker ComposeUbuntu 24.04
Intermediate

How to Install Nextcloud on Ubuntu 24.04 with Apache

Install Nextcloud 34 on a Raff Ubuntu 24.04 VM using Apache, PHP 8.3, MariaDB, Redis, HTTPS and cron, with backups, uploads, and verification checks.

24 min read
NextcloudUbuntu 24.04Self-Hosted

Guides

Learn something new every week

The tutorials, guides, and comparisons we publish, rounded up in one weekly email. Unsubscribe anytime.

Put it into practice

Spin up a Linux or Windows server and follow any tutorial here on real infrastructure. RDP and SSH ready, 14-day money-back guarantee.

Deploy a server