Home server for beginners: build it from an old PC

Turn the old computer in your closet into a server that runs useful services all day. No Linux experience needed: every step is explained.

Illustration for: home-server-beginner-old-pc
AI-generated illustration
Time ≈ 1 hourLevel BeginnerCost free, plus electricity

Last updated November 17, 2026.

What a home server is

A home server is just a computer that stays on all day and does jobs for you. It has no special parts. What makes it a "server" is what you run on it.

  • Block ads on every device in your house.
  • Store and back up your files and photos on your own hardware.
  • Run apps for your smart home, your media, your notes.
  • Learn Linux, networking and containers with real stakes, at almost no cost.

This guide uses an old PC or laptop you already own. You don't need to know Linux. We start from zero and explain each word the first time it appears.

Home Server Connection Diagram Architecture diagram showing a main computer connecting over SSH to an old PC configured as a home server running Debian or Ubuntu Server, Docker, and self-hosted services like Uptime Kuma and Pi-hole, with both systems connected to a home router. Your main computer You type commands over SSH Old PC (the server) Uptime Kuma Pi-hole Your next service Docker Debian or Ubuntu Server Home router Your home network
Illustrative diagram: An old PC server hosts Docker services on your home network, managed remotely from your main computer via SSH.

What you need

  • An old PC or laptop, roughly 2012 or newer, with a 64-bit processor.
  • Memory (RAM): 4 GB is enough to start; 8 GB or more is more comfortable.
  • A hard drive. Any works. An SSD makes everything feel faster.
  • A network cable and a free port on your router. Wi-Fi can work, but a cable is more stable.
  • A USB stick of 8 GB or more. Its contents will be erased.
  • A second computer to download things and follow this guide.

Step 1: Test the hardware

An old computer can hide problems. A few minutes of testing now saves hours of confusing errors later.

Test the memory

Download MemTest86 (or the open-source Memtest86+) on your second computer and write it to a USB stick. Then plug the stick into the old PC and boot from it (see the boot key tip in step 2).

The test runs on its own, before any operating system loads, so it can check the whole memory. Let it finish at least one full pass. It can take a few hours. Zero errors means your RAM is healthy. Any error means a bad memory stick: replace it.

Check the disk

Disks report their own health through a system called SMART. If your old PC still runs Windows, install CrystalDiskInfo and look at the status. If it says Caution or Bad, use another disk. After you install Linux, you can check it again:

Terminal
sudo apt install smartmontools
sudo smartctl -a /dev/sda

Clean it

Dust makes old fans loud and the processor hot. Open the case (or the laptop bottom), blow out the dust with compressed air, and make sure every fan spins.

Step 2: Install the operating system

The operating system is the main software a computer runs, like Windows. For servers we use Linux, which is free, light and very stable. Pick one:

Both come without a desktop, which saves memory. You will control the server with typed commands.

  1. On your second computer, download the ISO file of the one you picked.
  2. Write it to the USB stick with balenaEtcher or Rufus.
  3. Plug the stick into the old PC and turn it on. Right away, press the boot menu key (usually F12, F2, Esc or Del) and choose the USB stick.
  4. Follow the installer. When it asks which software to install, make sure SSH server is selected (we'll use it in the next step).

Step 3: Control it from your main computer

SSH lets you control the server from your normal computer by typing commands over the network. After this step, the server doesn't need a screen or a keyboard anymore, and you can put it in a corner.

First, find the server's address. On the server, run:

Terminal
ip -br a

Look for an address like 192.168.1.50. Then, in your router's settings, give that device a fixed address (often called a DHCP reservation) so it never changes. From your main computer, open a terminal (PowerShell on Windows) and connect:

Terminal
ssh [email protected]

Use the username you created during the install. Once connected, update everything before doing anything else:

Terminal
sudo apt update && sudo apt upgrade -y

Step 4: Install Docker

Docker runs every app in its own sealed box, called a container. One app can't break the others or the system underneath. Installing a service becomes: copy a command, paste it, run it.

Terminal
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USER

Log out and back in so the change applies, then test it:

Terminal
docker run hello-world

If you see a welcome message, Docker works. Piping a script into sh means trusting it; if you prefer, read it first or follow the official install guide.

Step 5: Your first service

Start with something useful and light. Uptime Kuma is a dashboard that tells you when a website or device stops responding:

Terminal
docker run -d --restart=always -p 3001:3001 \
  -v uptime-kuma:/app/data --name uptime-kuma \
  louislam/uptime-kuma:1

Open http://192.168.1.50:3001 (your server's address) in your browser, create an account and add your first monitor.

Other good first services: Pi-hole (blocks ads across your whole network) and Vaultwarden (your own password manager). Add one at a time, and move on only when the last one works.

How much will it cost to run?

An old PC is not free to keep on all day. Here is how to estimate it:

  • kWh per day = watts × 24 ÷ 1000
  • An old PC idling at 30 W uses about 0.72 kWh per day.
  • Multiply by your electricity price per kWh, then by 365 for the year.

To measure the real number instead of guessing, plug the server into a smart plug that reports watts. Desktop PCs idle at anywhere from 20 to 80 W depending on their age, so it is worth checking.

If something goes wrong

  • It won't boot from the USB: press the boot key earlier, or check that the stick was written with Etcher or Rufus, not just copied.
  • I can't connect with SSH: check the address, that the server is on, and that you selected "SSH server" during the install. Install it with sudo apt install openssh-server.
  • Docker says "permission denied": log out and back in after the usermod command.
  • A service doesn't load in the browser: check that its container is running with docker ps, and read its messages with docker logs NAME.

Next up: the same journey with a Raspberry Pi, and then storage, backups and remote access.