// GUIDE 06

Build your first home server

Home Lab Starter series · Part 1 of 5

For: curious beginners. Time: an evening. Difficulty: fiddly rather than hard.

What is a home server?

A computer that stays switched on at home and does jobs for the rest of your devices. It has no screen or keyboard in daily use. You talk to it from your laptop.

What can it do?

You don't need all of these. Pick one job to start. You can add more later.

Step 1: Choose the hardware

Power: a small mini PC idling at around 10 watts costs roughly £20 to £25 a year at about 25p per unit. Check your own tariff.

Step 2: Pick the software

For a first server, use Ubuntu Server (choose the latest "LTS" version) or Debian. Both are free, well documented, and have long update support. On a Raspberry Pi, use Raspberry Pi OS Lite.

Step 3: Install it

  1. On your normal computer, download the Ubuntu Server ISO from ubuntu.com.
  2. Put it on a USB stick of 8 GB or more with Rufus or balenaEtcher. This wipes the stick.
  3. Plug the stick into the server, switch it on, and press the boot menu key (often F12, F10 or Esc) to boot from USB.
  4. Follow the installer. Choose your name, a server name, and a long, unique password.
  5. When it asks, tick Install OpenSSH server. This lets you control the server from your laptop.
  6. Install to the whole disk. This erases everything on that machine, so only use a computer you're happy to wipe.
  7. Remove the USB stick when asked and restart.

Step 4: Give it a fixed address

Your router hands out addresses that can change. Fix the server's so you can always find it.

  1. Log in to your router's admin page (see Lock down your router in 15 minutes).
  2. Find DHCP reservation, address reservation or static lease. The name varies by router.
  3. Pick the server from the list of devices and reserve its current address.

Step 5: Connect from your laptop

On Windows 11, open Terminal and type the following, using your own username and the server's address:

ssh [email protected]

The first time, it asks you to trust the server. Type yes, then your password. You're in. You can now unplug the screen and keyboard.

Step 6: Lock it down

  1. Update everything: sudo apt update && sudo apt upgrade -y
  2. Turn on the firewall, allowing only SSH: sudo ufw allow OpenSSH then sudo ufw enable
  3. Switch on automatic security updates: sudo apt install unattended-upgrades
  4. Don't forward any ports from your router to the server. To reach it from outside, use a private tunnel like Tailscale instead.

The skull-dog says: Most home servers get hurt by one thing: being left open to the internet with an easy password. Keep it private and keep it updated, and you've dodged most of the trouble.

Step 7: Run your first service

The easiest way to run apps is Docker, which packs each app into its own tidy box.

  1. Install Docker by following the official instructions for Ubuntu on docs.docker.com. They change over time, so use the current page rather than an old tutorial.
  2. Start with something low-risk and useful, like Uptime Kuma (it pings your devices and tells you when something stops answering).
  3. Open it from a browser on your home network using the server's address and the port the app tells you.

Step 8: Back it up

A server that holds the only copy of something isn't a backup. Follow the 3-2-1 backup rule, and save a copy of your Docker settings files somewhere else.

Quick checklist

Common beginner mistakes