Tutorial series
Your first production server
Go from a blank Ubuntu server to a hardened one serving a site over HTTPS.
How to Do the Initial Setup of a New Ubuntu 26.04 Server
You will take a fresh Ubuntu 26.04 server from a root-only login to an updated machine with a daily-use account, your SSH key on it, a firewall and a known clock.
Beginner · 10 min
How to Create a Sudo User on Ubuntu 26.04
You will create a user that can run administrative commands with sudo, test it, limit it to specific commands, and take the access away again.
Beginner · 9 min
How to Log In to a Linux Server with SSH Keys
You will create an Ed25519 SSH key, install its public half on a server, log in without a password, and save the connection as a short name.
Beginner · 10 min
How to Install Nginx on Ubuntu 26.04
You will install the current stable Nginx 1.30 from the official nginx.org repository on Ubuntu 26.04, serve its test page, and learn where its files live and how to reload it safely.
Beginner · 10 min
How to Get Free HTTPS for Your Site with Let's Encrypt and Nginx
You will install Certbot 5.10, get a free Let's Encrypt certificate for your domain, have Nginx serve it over HTTPS, and confirm that it renews on its own.
Beginner · 10 min
How to Put Nginx in Front of a Node.js App as a Reverse Proxy
You will install Node.js 26, run a small app on a local port, and configure Nginx 1.30 to pass public traffic to it with the headers your app needs.
Intermediate · 12 min
How to Harden SSH on Ubuntu 26.04: Keys Only, No Root, Custom Limits
You will switch an Ubuntu 26.04 server's SSH daemon to key-only logins, turn off root login, limit who can connect and how many guesses they get, and test the change without locking yourself out.
Intermediate · 12 min
How to Set Up a UFW Firewall on Ubuntu 26.04
You will turn on UFW with a deny-by-default policy, allow SSH before you enable it so you stay connected, open only the web ports your server needs, and learn to list, remove and limit rules.
Beginner · 11 min
How to Block Brute-Force Logins with Fail2ban
You will install Fail2ban 1.1 on Ubuntu 26.04, set it up to ban any address that keeps failing SSH logins, test the rule against a sample log line, and learn how to see and undo bans.
Intermediate · 11 min
How to Turn On Automatic Security Updates on Ubuntu 26.04
You will check that unattended-upgrades installs security fixes by itself on Ubuntu 26.04, tune it to reboot at a quiet hour when a kernel update needs it, and read its logs to confirm it works.
Beginner · 9 min