Saltar al contenido ForoHackers

Homelab: start here

Homelab
#3115 · · Citar · Denunciar

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

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder