All topics

Ubuntu

50 tutorials · 0 guides

Tutorials

Beginner

How to Install PostgreSQL on Ubuntu 24.04

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
Intermediate

How to Install Redis on Ubuntu 24.04

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

24 min read
Redis 7.0Ubuntu 24.04ACL
Intermediate

How to Install MariaDB on Ubuntu 24.04

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
Beginner

How to Install MySQL on Ubuntu 24.04

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 MongoDB on Ubuntu 24.04

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 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 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 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, safe permissions, production caches, queues, scheduler, and health checks.

30 min read
Laravel 13Laravel DeploymentUbuntu 24.04
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

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

Use rclone with Raff S3-compatible Object Storage on Ubuntu 24.04. Configure the endpoint, copy and sync safely, verify data, restore-test, encrypt, and automate backups.

31 min read
rcloneS3Object Storage
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

How to Back Up PostgreSQL to S3 with Restic on Ubuntu 24.04

Back up PostgreSQL to S3-compatible Raff Object Storage with Restic on Ubuntu 24.04. Automate encrypted dumps, retention, checks, and restore tests.

21 min read
PostgreSQLResticObject 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 production checks.

18 min read
Next.jsDeploymentNode.js
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
PythonDjangoGunicorn
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 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 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 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

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 monitoring ports, SSH-tunneled dashboards, and end-to-end verification.

19 min read
PrometheusGrafanaNode Exporter
Beginner

How to Install pip on Ubuntu 24.04 and Use Python venv

Install pip on Ubuntu 24.04, create a Python venv, fix externally-managed-environment errors, use requirements files, and install pipx safely.

14 min read
Pythonpipvenv
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
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
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
Beginner

Generate SSH Keys on Ubuntu 24.04: Ed25519 Setup Guide

Generate an SSH key on Ubuntu 24.04 with Ed25519, ssh-keygen, ssh-copy-id, ssh-agent, safe password disabling, troubleshooting, and key rotation.

13 min read
SSH KeysUbuntu 24.04OpenSSH
Intermediate

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

Install Certbot for Nginx on Ubuntu 24.04, issue a Let's Encrypt SSL certificate, redirect HTTP to HTTPS, test renewal, and troubleshoot common errors.

15 min read
NginxCertbotLet's Encrypt
Beginner

How to Install Node.js on Ubuntu 24.04

Install Node.js 24 LTS and npm on Ubuntu 24.04 with NodeSource or nvm, then verify the runtime, native build tools, a localhost HTTP server, and Express.

14 min read
Node.jsNode.js 24 LTSUbuntu 24.04
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
Beginner

How to Set Up a LEMP Stack on Ubuntu 24.04

Set up a LEMP stack on Ubuntu 24.04 with Nginx, PHP 8.3, MariaDB, secure database access, HTTPS, verification, and rollback steps.

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 OpenClaw on Ubuntu 24.04 with Telegram

Install OpenClaw on Ubuntu 24.04 with Telegram pairing, a loopback-only Gateway, secure credentials, SSH-tunneled Control UI, backups, and safe updates.

23 min read
OpenClawAI AgentUbuntu 24.04
Beginner

How to Install WordPress on Ubuntu 24.04 with Nginx

Install WordPress on Ubuntu 24.04 with Nginx, PHP 8.3, MariaDB, secure permissions, and Let's Encrypt HTTPS on a Raff Linux VM step by step.

18 min read
WordPressUbuntu 24.04Nginx
Beginner

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
Beginner

How to Install Nginx on Ubuntu 24.04

Install Nginx on Ubuntu 24.04, verify the current Ubuntu package, configure UFW safely, create a server block, test HTTP, and inspect logs.

14 min read
NginxUbuntu 24.04Web Server
Intermediate

How to Install Nextcloud on Ubuntu 24.04

Install Nextcloud 34 on Ubuntu 24.04 with Apache, MariaDB, PHP 8.3, HTTPS, Redis, cron, backup checks, and secure production guidance.

24 min read
NextcloudUbuntu 24.04Self-Hosted
Beginner

How to Install Docker on Ubuntu 24.04

Install Docker on Ubuntu 24.04 from Docker’s official APT repository. Add Docker Engine, Compose and Buildx, verify hello-world, and avoid common UFW exposure mistakes.

16 min read
DockerUbuntu 24.04Docker Engine

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