Skip to the content ForoHackers
Log inJoin

Homelab: start here

Homelab
#3115 · · Quote · Report

A homelab is your own small infrastructure at home: a spare PC, a mini server or a few single-board computers running services you choose, from file storage to DNS to a media server. It is a safe place to practise what professionals do at scale (networking, virtualization, backups, monitoring) and to find out what breaks and why.

Key concepts

  • Virtualization and containers: split one machine into many isolated systems for experiments.
  • Networking: static addresses, VLANs, DNS, a firewall and a reverse proxy to reach services by name.
  • Infrastructure as code: describe machines and services in files, so you can rebuild them from nothing.
  • Backups and monitoring: copies in more than one place, restores you have tested, metrics and alerts.
  • Exposure: keep services private; if one must be reachable from the internet, put a VPN or strong authentication in front and keep it updated.

Vocabulary

  • Hypervisor: software that runs virtual machines.
  • NAS: network-attached storage, a box that shares files over the network.
  • VLAN: a logically separate network carried over shared hardware.
  • Reverse proxy: a server that receives requests and forwards each to the right internal service.

What to study, in order

  1. Install Linux on one machine and run a single service, such as a file share; read its logs.
  2. Run several services in containers or virtual machines, one per service.
  3. Set up DNS and a reverse proxy, so services have names instead of port numbers.
  4. Keep configuration in a Git repository and rebuild one machine from it.
  5. Add backups, then practise restoring one on a clean machine.
  6. Add monitoring and a VPN, and put lab and home devices on separate VLANs.

Related tags

#self-hosting #virtualization #containers #network-administration #backups

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply