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?
- Back up your photos and files.
- Stream your own films, music and photos around the house.
- Block adverts across your whole network (Pi-hole or AdGuard Home).
- Run Home Assistant (see the Home Assistant guide).
- Host small tools like a notes app, a password vault or a dashboard.
You don't need all of these. Pick one job to start. You can add more later.
Step 1: Choose the hardware
- A used mini PC (the small business desktops from Dell, HP and Lenovo) is the best starting point. Quiet, cheap, and sips power.
- A Raspberry Pi is great for light jobs and costs very little to run. Less suited to heavy video streaming.
- An old laptop works too. It even has a built-in battery for power cuts.
- A big old gaming PC works, but it can cost five times as much to run as a mini PC.
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
- On your normal computer, download the Ubuntu Server ISO from ubuntu.com.
- Put it on a USB stick of 8 GB or more with Rufus or balenaEtcher. This wipes the stick.
- Plug the stick into the server, switch it on, and press the boot menu key (often F12, F10 or Esc) to boot from USB.
- Follow the installer. Choose your name, a server name, and a long, unique password.
- When it asks, tick Install OpenSSH server. This lets you control the server from your laptop.
- Install to the whole disk. This erases everything on that machine, so only use a computer you're happy to wipe.
- 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.
- Log in to your router's admin page (see Lock down your router in 15 minutes).
- Find DHCP reservation, address reservation or static lease. The name varies by router.
- 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 yourname@192.168.1.50
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
- Update everything:
sudo apt update && sudo apt upgrade -y - Turn on the firewall, allowing only SSH:
sudo ufw allow OpenSSHthensudo ufw enable - Switch on automatic security updates:
sudo apt install unattended-upgrades - 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.
- 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.
- Start with something low-risk and useful, like Uptime Kuma (it pings your devices and tells you when something stops answering).
- 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
- Opening ports "just to test". Don't. Use a private tunnel.
- Reusing your usual password. Use a unique one from your password manager.
- Installing ten things on day one. Add one service, make sure it works, then the next.
- Forgetting updates. Put a reminder in your diary once a month.