How to Set Up a Home Server for Beginners (Old PC)

To set up a home server for beginners, take a computer you already own (an old laptop or desktop works fine), install a free server operating system like Ubuntu Server, connect to it from your main computer over your home network, and use Docker to run one app, such as a photo backup or a personal cloud drive. A basic setup takes about an hour. You do not need to buy special hardware, open your router to the internet, or set up RAID to begin. The trick is to pick one job for the server first, get that working, and grow from there.

Most guides get the order wrong. They hand you a parts list and a page of network settings before you know what the machine is even for. This one starts with the decision, uses hardware you probably already have, and is honest about the parts nobody mentions: what it costs to run, what breaks, and when a home server is not worth the trouble.

What a home server actually is

A home server is just a computer that stays on and does a job for the other devices in your house. That is the whole idea. Instead of your photos living on Google's computers and your files living on Dropbox's computers, they live on a machine in your home that you control. Your phone, your laptop, and your TV connect to it over your own Wi-Fi. It is a private cloud that you own outright, with no monthly bill and no company reading your data.

It does not have to be a rack of blinking machines. A ten-year-old laptop with the lid closed in a cupboard is a real home server. What makes it a "server" is not the hardware, it is the fact that it runs quietly in the background and answers requests from your other devices.

Decide what your home server is for first

Before you touch any hardware, answer one question: what is the first job? Pick a single, concrete use. You can add more later, but starting with everything at once is how beginners give up. Here are the three most common starting points.

  • Your own cloud drive (file backup). Replace Dropbox or Google Drive with your own storage that your phone and laptops back up to automatically. The usual apps for this are Nextcloud or Seafile.
  • Your own photo library (a Google Photos alternative). Back up every photo and video from your phone to your own server, with albums, search, and sharing. The popular self-hosted app here is Immich.
  • Your own media library. Stream your movies, shows, and music to any screen in the house. The common apps are Jellyfin (fully free) or Plex.

Pick one. If you cannot decide, choose the photo library or the cloud drive, because those solve a problem you already feel every time your phone says "storage full." Media streaming is fun but it is a bigger first project.

A home server can also run smart-home control (Home Assistant), ad-blocking for your whole network (Pi-hole), and dozens of other tools. Ignore all of that for now. One job first.

What you need to set up a home server (and what you don't)

Here is the good news that the shopping-list guides bury: the hardware you already own is almost certainly enough to start. A home server for one or two apps is not a demanding machine.

Minimum to begin: any 64-bit computer from roughly the last decade, with about 4 GB of RAM and a working drive. Ubuntu Server, the operating system we will use, officially installs with about 1.5 GB of RAM and runs comfortably on 2 GB or more, so an old laptop or office desktop clears the bar with room to spare. You also need a way to plug it into your router. A wired network cable is more reliable than Wi-Fi for something that stays on, but Wi-Fi works.

Use this table to match what you already have to the route that fits:

What you already ownBest starting routeGood first job
An old working laptopUbuntu Server, run with the lid closedCloud drive or photo backup
An old desktop towerUbuntu ServerPhotos, files, and media
A Raspberry Pi 4 or 5Raspberry Pi OS Lite or Ubuntu ServerLow-power, always-on apps
Nothing spare, want low fussA ready-made NAS box (you buy it)Backup and photos with a guided screen
A gaming PC you still use dailyDo not use it as a 24/7 server(see the running-cost section)

When your hardware is not enough: if you want to stream 4K video to several screens at once, or store a very large media library, you will eventually want more RAM and more disk space. That is a later problem. It is not a reason to spend money on day one. Start on what you have, learn how it works, and let the real limits tell you what to upgrade. For a deeper walkthrough of picking and prepping a machine, see our guide on how to turn an old PC into a home server, which is this hardware chapter expanded.

A note on how this guide was written

The steps below follow the current official Ubuntu Server and Docker documentation and the standard beginner install path. The commands were checked against the current published docs at the time of writing. This is a documented walkthrough, not a review of a specific test rig, so your exact screens and version numbers may differ a little by hardware and by which version you download. Where a step depends on your own machine (its IP address, its power draw), the guide shows you how to find your number rather than inventing one.

Step by step: install the operating system

We will install Ubuntu Server, a free Linux operating system built to run in the background with no screen attached. It is the most documented beginner-friendly choice, which matters a lot the first time something goes wrong and you need to search for an answer.

  1. Download the installer. On your normal computer, go to ubuntu.com and download the latest Ubuntu Server LTS ISO file. "LTS" means long-term support, which is what you want for a machine that just runs.
  2. Write it to a USB stick. Use a free tool like Balena Etcher or Rufus to write the ISO to a USB drive (8 GB or larger). This erases the USB stick, so use a spare.
  3. Boot the old computer from the USB stick. Plug the stick into the machine that will become your server, turn it on, and press the key that opens the boot menu (often F12, F2, Esc, or Del, depending on the make). Choose the USB drive.
  4. Follow the installer. Accept the defaults for most screens. When it asks about storage, the guided "use entire disk" option is correct for a machine you are dedicating to this. Set your language, create a username and a strong password, and write them down.
  5. Turn on remote access. This is the one step beginners skip and regret. When the installer offers to "Install OpenSSH server," check that box. It is what lets you control the server from your normal computer instead of hunching over the old one.
  6. Finish and reboot. Remove the USB stick when told, let it restart, and log in once on the machine itself with the username and password you set.
  7. Find the server's address. On the server, type ip a and press Enter. Look for an address that starts with 192.168. or 10.. That is your server's local IP address on your home network. Write it down. You can now walk away from this machine for good.

If you would rather use a storage-focused operating system with a friendly web screen instead of the command line, TrueNAS and Unraid are the usual alternatives. They are heavier first projects, so this guide sticks with Ubuntu Server.

First contact: connect to your server from another device

Now you control the server from the comfortable computer you already use. This is where it starts to feel real.

  • On Mac or Linux: open the Terminal app and type ssh yourusername@192.168.x.x, replacing that with your username and the IP address you wrote down. Press Enter.
  • On Windows: open PowerShell and use the same ssh yourusername@192.168.x.x command (modern Windows includes SSH), or install the free PuTTY app and enter the IP there.

The first time, it asks you to confirm a fingerprint. Type yes. Enter your password (the screen will not show the characters as you type, which is normal). You are now logged into your server from across the room. Everything from here happens through this window.

Good first habit: update the system before anything else. Run these two commands:

sudo apt update
sudo apt upgrade

Enter your password when asked, confirm, and let it finish. You have now done the single most important piece of ongoing maintenance a server needs.

Install your first app with Docker

Here is the part that used to be hard and is now easy: running apps. We use Docker, a tool that packages each app with everything it needs so you do not spend an evening fighting dependencies. You install Docker once, then most self-hosted apps become a short, copy-paste affair.

Install Docker with the official convenience script:

curl -fsSL https://get.docker.com | sh

Test that it works:

sudo docker run hello-world

If you see a friendly "Hello from Docker!" message, Docker is running. That message is the whole point: you just pulled an app from the internet and ran it in an isolated container without installing anything by hand.

From here, real apps follow the same pattern, usually written as a small "Docker Compose" file (a plain text recipe that lists the app and its settings). You run one command, docker compose up -d, and the app starts and stays running. For a beginner's very first real app, the photo library is the most satisfying, because it solves the "phone storage full" problem the same day. Follow our step-by-step guide to self-host Immich, a private Google Photos alternative, which walks the Compose file line by line. When you want ideas for what to add next, our roundup of the best self-hosted apps for beginners lists the ones that are genuinely easy to run.

One job, running, on hardware you already owned. That is a working home server.

What a home server actually costs to run

This is the section other guides leave out, and it is the one that decides whether you keep the thing plugged in. A home server is cheap, but it is not free.

Electricity. The server is on all the time, so its power draw matters more than its price. An old desktop tower often idles somewhere around 50 to 100 watts, and older machines or ones with a dedicated graphics card can pull well over 100 watts even when doing nothing. A laptop or a Raspberry Pi is far kinder, often under 20 watts. Left on continuously, a typical desktop can use in the region of 600 kilowatt-hours a year. To get your real number, do not guess: measure it with an inexpensive plug-in power meter, then multiply the watts by 24 hours and 365 days, divide by 1,000, and multiply by your local electricity rate. That is your true yearly cost. This is exactly why the table earlier said not to draft a power-hungry gaming PC into 24/7 duty: the electricity can quietly cost more than the cloud subscription you were trying to escape.

Noise and heat. An old tower with spinning fans and hard drives is not silent. If it lives in a bedroom, you will hear it. A laptop or a small machine with an SSD is close to silent. Pick where it lives with your ears in mind.

Your time. The honest cost is maintenance. Setup is about an hour. After that, expect to spend a little time now and then running updates and, eventually, dealing with something that broke. Drives fail. Apps get updates that change a setting. It is not a heavy burden, but it is not zero, and it never fully goes away.

When NOT to bother

A home server is not the right answer for everyone, and pretending otherwise would waste your weekend.

  • If you only need a couple of folders backed up and you are happy paying a small cloud fee, a server is more machine than the problem needs.
  • If nobody in the house can tolerate occasional fiddling, think twice before putting important family data on a server you will not maintain.
  • If your electricity is expensive and your only spare machine is a power-hungry tower, the running cost may beat a subscription. A low-power Pi or a NAS changes that math.
  • If you want genuinely zero fuss, a ready-made NAS appliance or a paid cloud service is a better fit than a DIY server, and there is no shame in that.

And the rule that saves people the most pain: a single home server is not a backup. If the only copy of your photos lives on it, one dead drive erases them. Keep a second copy somewhere else (another drive or a cloud account) for anything you cannot lose. A server holding the one and only copy of your memories is a risk, not a safety net.

What not to do yet

Beginners get into trouble by doing advanced things too early. On day one, deliberately skip all of this:

  • Do not forward ports on your router or expose the server to the internet. This is the single most common beginner mistake and the fastest way to get attacked. Everything above works entirely on your home network, safely. When you do want to reach your server from outside the house, the safe way is not port forwarding. Use our guide to reach your home server safely with Tailscale, which creates a private connection with nothing opened to the public internet.
  • Do not set up RAID on day one. RAID keeps a server running when a drive dies, but it is not a backup and it adds complexity you do not need yet. Get one app working first.
  • Do not buy anything. No new drives, no rack, no fancy case, no "server grade" hardware. Use what you have until a real limit tells you otherwise.
  • Do not chase a static public IP or a domain name yet. You need none of it to run apps on your own network.

Skipping these is not laziness. It is the correct order. Advanced setup is worth doing later, once the basics are second nature.

Where to go next

You now have a real home server doing one useful job. To grow it sensibly, pick your next step:

Add one thing at a time. That is the entire secret to not getting overwhelmed.

FAQ

Can I use an old laptop as a home server?
Yes, and it is one of the best beginner choices. A laptop uses far less electricity than a desktop tower, runs quietly, and has a built-in battery that acts like a small backup power supply during brief outages. Install Ubuntu Server, then adjust its settings so it keeps running with the lid closed, and tuck it away near your router.

Does a home server need to run 24/7?
Only if the job needs it. If you want your phone to back up photos at any hour or stream media whenever you sit down, the server should stay on. If it only does a nightly task, you can schedule it to wake and sleep. Leaving it on is what drives the electricity cost, so match the uptime to what you actually use.

Will a home server slow down my internet?
For everything in this guide, no. The server talks to your phone and laptops over your local network, which does not touch your internet connection at all. It can use internet bandwidth if you later set it up to be reached from outside the house, but the basic setup here stays inside your home and leaves your browsing speed untouched.

Is Ubuntu Server or Windows better for a beginner home server?
Ubuntu Server is the better first choice for most people. It is free, it is built to run without a screen, and it has the largest pool of beginner guides and community answers, which matters the moment you get stuck. Windows can run a home server too, but it costs money, uses more resources, and has far less self-hosting documentation aimed at beginners.

How much does it cost to run a home server?
The main cost is electricity, and it depends entirely on the machine. A low-power laptop or Raspberry Pi might cost very little a year, while an old desktop left on all the time costs meaningfully more. Measure your machine's watt draw with a plug-in power meter, then multiply by the hours it runs and your local electricity rate. Beyond power, the real cost is a little of your time for updates and the occasional repair.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *