Learn to build your own server
Never opened a terminal? Perfect, this is made for you. One step at a time, in plain English, until you run a secure server that hosts your own apps.
- No prerequisites. Every new word is explained the moment it appears.
- Tested commands. You see what you should get before you move on.
- A logical order. Each tutorial builds on the ones before it.
The full course, level by level
35 tutorials in English, in course order. Reading times are estimates.
0
Level 0: Understand
Know what we are talking about before installing anything.
4 tutorials in English
- 1Why build your own server?12 minRead
- 2What is a server?15 minRead
- 3VPS or dedicated server: which one to pick?15 minRead
- 4The words: IP, DNS, domain, port, firewall20 minRead
1
Level 1: First steps
Have a server running Debian (a free Linux system) and know how to connect to it.
6 tutorials in English
- 5What is SSH?25 minRead
- 6Install Debian 13 on a VPS or a dedicated server30 minRead
- 7Your first SSH connection20 minRead
- 8The terminal for beginners25 minRead
- 9Users, sudo and file permissions25 minRead
- 10Updates and packages with apt20 minRead
2
Level 2: Secure it
Close the doors before inviting anyone in.
5 tutorials in English
- 11Secure SSH: turn off passwords25 minRead
- 12A firewall with ufw25 minRead
- 13fail2ban20 minRead
- 14Read your logs with journalctl20 minRead
- 15Your first backup with rsync25 minRead
3
Level 3: Go online
A site on your own domain name, over HTTPS (the encrypted connection, with the padlock).
5 tutorials in English
- 16Domain name and DNS20 minRead
- 17Your first website with Apache25 minRead
- 18HTTPS with Let's Encrypt25 minRead
- 19A dynamic site: PHP and MariaDB30 minRead
- 20Reverse proxy25 minRead
4
Level 4: Apps with Docker
Install your apps in ready-made boxes (Docker): Nextcloud, Jellyfin, Kavita, passwords.
5 tutorials in English
- 21Docker and Docker Compose30 minRead
- 22Nextcloud30 minRead
- 23Jellyfin25 minRead
- 24Kavita25 minRead
- 25Vaultwarden45 minRead
5
Level 5: Link home and server
VPN, NAS and AI assistant: one network, home and server together.
4 tutorials in English
- 26WireGuard30 minRead
- 27Connect your NAS40 minRead
- 28An AI assistant on your server35 minRead
- 29A seedbox with rTorrent and ruTorrent60 minRead
6
Level 6: Run and harden
Monitor, back up, repair: make the server last.
6 tutorials in English
- 30Simple monitoring30 minRead
- 31Encrypted backups with restic40 minRead
- 32Software RAID and SMART checks40 minRead
- 33Diagnose a saturated disk30 minRead
- 34Harden a service with systemd30 minRead
- 35When things break: the checklist25 minRead
How to follow a tutorial
- Read in order. The map at the bottom of each page shows where you are.
- Copy the commands. The "Copy" button saves you from typos.
- Check. Each step tells you what you should see. If you do not see it, stop: the "If it fails" box is there for that.