Ubuntu 24.04
51 tutorials · 1 guides
Tutorials
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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