How to Set Up a Home Server: A Beginner's Path for 2026
A good home server setup doesn’t start with buying hardware. It starts with deciding what the server is for, because that choice drives the hardware, the operating system and how much maintenance you sign up for. This guide gives you a beginner path that works for most people: one efficient machine, one well-supported operating system, and services added one at a time.
All versions and requirements below were checked against the official pages in December 2026. If you are new to the idea, read what self-hosting is first.
Step 1: Decide what the server will do
Write down the first two or three services you want. Typical starter lists look like one of these:
- Smart home hub: Home Assistant only. A dedicated appliance may suit you better than a general server; see Home Assistant Green vs Yellow.
- Container host: a handful of apps (dashboard, notes, DNS filtering, photo backup) run as Docker containers.
- Home lab: several virtual machines and containers to learn on, perhaps including Home Assistant OS in a VM.
The first two fit on almost any small computer. The third benefits from more memory and a hypervisor.
Step 2: Choose hardware
You don’t need server-grade equipment. What matters most for a beginner is low power draw, quiet operation, enough RAM and reliable storage.
| Option | Good for | Watch out for |
|---|---|---|
| Mini PC (x86) | Containers, Proxmox VE with a few VMs | Limited internal drive bays; check RAM is upgradeable |
| Reused desktop | Lots of drives, cheap to start | Higher idle power, more noise |
| Old laptop | Light container workloads, built-in battery | Single drive, may throttle under load |
| Raspberry Pi 4 or 5 | Home Assistant OS, light services | ARM architecture; SD cards are a weak point, prefer SSD boot |
| Dedicated appliance | One job, such as Home Assistant | Not general-purpose |
Check the requirements of the OS you plan to use. Canonical lists 1.5 GB of memory and 5 GB of disk as the minimum for Ubuntu Server. Proxmox’s system requirements page recommends a CPU with Intel VT or AMD-V, at least 2 GB of RAM for the OS and Proxmox services plus memory for each guest, and SSDs for the best performance. For ZFS or Ceph, Proxmox suggests about 1 GB of RAM per TB of used storage.
What it costs to run
An always-on server uses power 8,760 hours a year. The U.S. Energy Information Administration reported an average residential price of 18.17 cents per kWh for September 2026. Using that rate:
| Average draw | Energy per year | Cost per year at $0.1817/kWh |
|---|---|---|
| 15 W | 15 × 8,760 ÷ 1,000 = 131.4 kWh | about $23.88 |
| 30 W | 262.8 kWh | about $47.75 |
| 60 W | 525.6 kWh | about $95.50 |
Your electricity rate and your hardware’s real average draw will differ, so plug your own numbers into the home server power cost calculator. A plug-in power meter tells you what your machine actually uses.
Step 3: Pick an operating system
For beginners, two choices cover most needs.
Ubuntu Server LTS: one machine, Docker containers
As of December 2026, Canonical’s download page offers Ubuntu Server 26.04.1 LTS. According to the release-cycle page, LTS releases receive five years of standard security maintenance, and 26.04’s standard support runs to May 2031. Ubuntu Pro, which extends security coverage, is free for personal use on up to five machines. Docker’s official installation guide supports Ubuntu 26.04 LTS, 24.04 LTS and 22.04 LTS.
Choose Ubuntu Server if you plan to run everything as containers on one OS.
Proxmox VE: several systems on one box
Proxmox VE is a hypervisor that runs full virtual machines and lightweight LXC containers, managed through a web interface. The current release in December 2026 is Proxmox VE 9.3, based on Debian 13. It suits you if you want Home Assistant OS in one VM, an Ubuntu Docker host in another, and room to experiment without risking the others. Our Proxmox setup guide covers installation, and Proxmox license cost explains that the software itself doesn’t require a paid subscription.
Decision checklist
- Only want containers, and comfortable on the Linux command line? Ubuntu Server LTS + Docker.
- Want to run Home Assistant OS alongside other things? Proxmox VE, with Home Assistant OS in a VM.
- Only want Home Assistant? A dedicated device running Home Assistant OS.
- Mainly need file storage with several disks? Consider a NAS-focused OS instead, and keep apps on a separate host or VM.
Step 4: Install the OS
The process is similar for Ubuntu Server and Proxmox VE:
- Download the ISO from the official site only (ubuntu.com or proxmox.com) and check its checksum against the published value.
- Write it to a USB stick with balenaEtcher or Rufus. For Proxmox, the installation guide says Rufus must use DD mode.
- Enable virtualization in the BIOS/UEFI (Intel VT-x/VT-d or AMD-V/SVM) if you plan to run VMs, and set the machine to power on after a power loss if the option exists.
- Boot from USB and install to an SSD. Use the whole disk unless you know you need a custom layout.
- Set the network. Give the server a fixed IP, either in the installer or as a DHCP reservation in your router, so its address never changes.
- Create a strong admin password and, on Ubuntu, enable the OpenSSH server during installation if you'll manage it remotely.
After the first boot on Ubuntu, bring the system fully up to date:
sudo apt update && sudo apt full-upgrade -y
sudo reboot
apt update refreshes the package lists, apt full-upgrade installs every available update (including ones that add or remove dependencies), and the reboot loads a new kernel if one was installed.
Step 5: Secure it before adding services
A fresh server on your LAN is reasonably safe. Keep it that way:
- Don't port-forward admin interfaces. The Proxmox web UI (port 8006), Home Assistant's interface, SSH and the Docker API should never be reachable from the internet.
- Use SSH keys instead of passwords for remote shell access on your LAN.
- Turn on automatic security updates. On Ubuntu, the
unattended-upgradespackage handles this. - Enable a host firewall that allows only the ports you need on your LAN. Be aware that Docker's install guide warns that ports published by containers bypass ufw and firewalld rules, so publish container ports deliberately.
- Set up a VPN for remote access. Tailscale or WireGuard lets your phone and laptop reach the server without opening it to the internet. Compare them in Tailscale vs WireGuard.
If you later need a service to be public, put a reverse proxy with TLS and authentication in front of it and expose only that service, never the admin pages behind it.
Step 6: Add your first service
On an Ubuntu host, the usual route is Docker Engine with the Compose plugin, installed from Docker’s own apt repository rather than the distribution packages. Follow our step-by-step guide to install Docker Compose on Ubuntu; it includes the exact commands from Docker’s documentation.
Keep each service in its own folder with a compose.yaml file and a data subfolder. That layout makes backups simple: back up the folder, and you have both the configuration and the data.
For Home Assistant, the project recommends Home Assistant OS for most people because it includes the Supervisor and apps (previously called add-ons). The container install works but, per the Home Assistant docs, doesn’t include apps.
Step 7: Plan backups from day one
Before you trust the server with anything you care about:
- Back up configuration and data for each service to a second device, such as a USB drive or another computer.
- Keep one copy off-site, for example an encrypted backup to cloud storage or a drive kept elsewhere.
- Snapshot before upgrades. On Proxmox, take a VM backup or snapshot before major changes.
- Test a restore. A backup you have never restored is a hope, not a plan.
Common beginner mistakes to avoid
- Installing ten services in the first weekend. Each one adds updates to track and data to back up. Add services only when the previous one is stable and backed up.
- Following an outdated tutorial. Commands change between releases. Docker, for example, now documents the
docker composeplugin, and the old standalonedocker-composebinary is only kept for backward compatibility. Check the date on any guide and compare it with the official documentation. - Running everything as root. Use a normal user with
sudo, and remember that membership in thedockergroup is equivalent to root access on that host. - Storing the only copy of data on the server. Disks fail without warning. Plan the second and off-site copies before the first photo lands on the server.
- Using a USB stick or SD card as the system disk. Cheap flash media wears out under constant writes. An SSD is far more reliable for an always-on machine.
- Forgetting the router’s DHCP range. If you set a static IP inside the range your router hands out, another device may grab the same address. Use a DHCP reservation or pick an address outside the pool.
A realistic first-month plan
| Week | Goal |
|---|---|
| 1 | Hardware ready, OS installed, fixed IP, updates applied |
| 2 | SSH keys, automatic updates, firewall, VPN for remote access |
| 3 | First service running in Docker or a VM |
| 4 | Backups configured and one test restore completed |
Once that’s done, you have a solid foundation. Add services one at a time, document what you change, and browse the getting started section for the next steps.
Frequently asked questions
Can I use an old laptop as a home server?
Yes. A laptop is efficient and has a built-in battery that rides out short power blips. Check that it can stay running with the lid closed, and keep it somewhere ventilated.
Should I install Proxmox or Ubuntu first?
If you want one machine to run Docker containers, Ubuntu Server LTS is simpler. If you want to run several operating systems side by side, such as Home Assistant OS plus a Docker host, start with Proxmox VE.
Does a home server need a static IP address?
On your LAN, yes: give it a fixed address or a DHCP reservation in your router so bookmarks and DNS entries keep working. You don't need a static public IP if you use a VPN for remote access.
How much RAM does a home server need?
It depends on the services. Ubuntu Server lists 1.5 GB as its minimum, and Proxmox recommends at least 2 GB for itself plus memory for each guest. For several VMs, 16 GB or more gives comfortable headroom.
Sources
- Get Ubuntu Server: Canonical
- Ubuntu release cycle: Canonical
- System Requirements: Proxmox Server Solutions
- Install Docker Engine on Ubuntu: Docker Docs
- Installation (Home Assistant): Home Assistant
- Electric Power Monthly, Table 5.6.A: Average Price of Electricity to Ultimate Customers by End-Use Sector: U.S. Energy Information Administration
We research every guide from manufacturer documentation, government and standards bodies, and other primary sources, which are cited at the end of each article. We do not accept payment for coverage. Read our editorial policy to see how articles are researched, fact-checked and updated, or tell us if something is out of date.