Skip to main content

Homelab

What is a homelab?​

A homelab is a small collection of computers and networking gear that you run at home, for yourself, so you can learn, experiment, and host your own services.

That sounds grander than it usually is. A homelab can be:

  • An old laptop in a closet running Linux
  • A Raspberry Pi plugged in behind the TV
  • A secondhand mini PC or small-form-factor office desktop
  • A rack of used enterprise servers, if you get really into it

What makes it a homelab isn't the hardware. It's that you own it, you run it, and it's a safe place to try things. If you break it, nobody's production system goes down, and you learn something while fixing it.

What can a homelab do for you?​

Learn by doing​

Reading about servers, networking, and Linux only gets you so far. A homelab gives you real machines to SSH into, real services to configure, and real problems to debug. Skills you pick up here, such as the command line, networking, permissions, storage, containers, and backups, are the same ones used in professional DevOps, sysadmin, and backend work.

Host your own services​

Many things you pay a subscription for, or hand your data to a third party for, can run on hardware at home instead:

  • File sharing and storage: a central place for documents, photos, and backups that every device on your network can reach
  • Media server: stream your own movie, music, or photo library to any screen in the house
  • Network-wide ad blocking: filter ads and trackers for every device at once with DNS-level blocking
  • Password manager, notes, calendars: self-hosted alternatives to cloud apps
  • Home automation: control lights, sensors, and smart devices locally, without depending on a vendor's cloud
  • Development environments: databases, Git servers, CI runners, and test deployments for your own projects

Own your data​

When a service runs on your hardware, your files and data stay with you. You decide what's kept, what's backed up, and who has access.

Save money (sometimes)​

Older hardware is cheap, and a single small machine can replace several monthly subscriptions. Keep in mind that electricity, drives, and your time all cost something too, so the real win is usually the learning and control rather than the savings.

What you need to get started​

Less than you might think:

  1. A computer you're willing to dedicate to it. Almost anything from the last decade will do. Low power draw matters more than raw speed for a machine that's always on.
  2. An operating system. Most homelabs run Linux. A server-focused distribution like Ubuntu Server or Debian is a good place to start.
  3. A network connection. Plug it into your router with an Ethernet cable if you can; it's faster and more reliable than Wi-Fi.
  4. Comfort with the command line. You'll manage most things over SSH. If that's new to you, work through the Command Line guides first.

Start small. Pick one service you'd actually use, get it running, and grow from there.

A few habits worth building early​

  • Back up anything you care about. A homelab is for experimenting, so assume something will eventually break. Keep important data in more than one place.
  • Write down what you did. Future you will not remember which config file you edited six months ago.
  • Keep it on your local network until you understand the security implications of exposing services to the internet.
  • Update regularly. Self-hosting means you are the one responsible for patches.

Where to go next​

If you're new to running a Linux machine, the Linux section's foundation guides on the filesystem layout and users, groups, and sudo explain how the system you'll be managing is organized.

It also has hands-on tutorials for common homelab tasks: