We are still actively working on the spam issue.

Home Server v2

From InstallGentoo Wiki
Revision as of 06:53, 19 February 2024 by Cyberes (talk | contribs) (=Open Media Vault)
Jump to: navigation, search
What a homelab inevitably devolves into...
Home servers are about learning and expanding your horizons. De-botnet your life. Learn something new. Serving applications to yourself, your family, and your frens feels good. Put your /g/ skills to good use for yourself and those close to you. Store their data with proper availability redundancy and backups and serve it back to them with a /comfy/ easy to use interface.

Most people get started with NAS. It’s nice to have a /comfy/ home for all your data. Streaming your movies/shows around the house and to friends. Know all about NAS? Learn virtualization. Spin up some VMs. Learn networking by setting up a pfSense box and configuring some VLANs. There's always more to learn and chances to grow. Think you’re god tier already? Setup openstack and report back to /hsg/.

Things that are online today might not be online forever. It's good to have a copy of something because you never know when it might get taken down due to copyright strikes.
—Anon, Standard /hsg/ OP


Welcome to /g/'s comprehensive guide on home servers! This guide is designed to assist you in setting up and managing your own home server, effortlessly navigating through the complexities that come with running servers in your personal spaces such as your basement or closet.

"Homelab" is a term you may have encountered, but what does it signify? Essentially, it refers to a personal data center located within your own home. It serves as a platform for acquiring new skills and solving technical problems in your own life. Many are drawn to this hobby by the promises of freedom from the winds of the larger internet. Within this homelab are your home servers. There can be as many, or as few, as you want.

Contrary to what some may suggest, there are no hard and fast rules in this hobby. However, there are certainly less effective ways of doing things. This guide aims to help you steer clear of common pitfalls that beginners often encounter.


What Can I do With a Home Server?

There are two reasons a man will run a home server:

  1. Solve a problem. Maybe he was fed up with cloud storage or maybe he was tired of the constant service outages? Or maybe the solution to his problem doesn't exist yet? Either way, he knows he can do it better himself.
  2. Learn a new skill and get a new hobby. Home servers and homelabs can scale infinitely. There is always room to learn something new or do things slightly different.


If you're here and considering building a lab, you probably already have a purpose in mind. If not, check out awesome-selfhosted for a gigantic list of applications you can host yourself. Some applications popular with /hsg/ anons include:





A good example of a rack using older enterprise equipment

Your First Server

The first step to setting up your homelab is to acquire your first server. You have a few options to choose from:

Your old gaming PC, workstation, or laptop is a great option for a home server (provided they are not too old). Performance and capability will vary from machine to machine. When in doubt, post specs in /hsg/ and ask. Laptops are not really designed for 24/7 use but their battery does act as a built in UPS.

Hardware you already own is free, which is very appealing and a great way to get started. Keep in mind that older hardware can be less energy efficient and if power usage is a concern you may want to purchase newer hardware.

Building a NAS

"uh guys, how do i build a nas?" is the most frequently asked question on /hsg/. Here's a dedicated section to point to when someone asks this question for the tenth time in a row.

synology pros and cons

Building a Media Server

This is the second most asked question on /hsg/.

Basically, a media server can be as complex as a media server like Jellyfin and Plex or as simple as a network share that you play using VLC. The media server route is best for serving multiple users at once such as your family and friends. It also works well when traveling or streaming on many different devices. On the other hand, the network share excels at simplicity.

Operating Systems

Looking for an server operating system? Check out the full list of the popular server operating systems.

Hypervisors

Proxmox Virtual Environment

Storage-Focused Operating Systems

TrueNAS

TrueNAS is a NAS appliance operating system that uses ZFS. While it is a storage-first OS, it does have some minor virtualization capabilities and can run VMs and containers. TrueNAS is best for those who will only use the server for storage. If you plan on running multiple VMs or containers you should consider Proxmox instead.

TrueNAS has two versions: CORE and SCALE. Both accomplish the same task.

CORE (formerly FreeNAS) is based on FreeBSD. This version is considered more stable.

SCALE is more recent than CORE and based on Linux. This version sports better hardware compatibility and stronger virtualization features.

TrueNAS offers paid clustering and high-availability features.

You will want a separate boot drive to install the OS onto. Your storage pool will be used exclusively for ZFS.

Again, if you are looking to run VMs and/or containers you should consider a true hypervisor. TrueNAS is focused on storage and its virtualization capabilities are secondary. If you still want to run TrueNAS, put it in a VM.

Open Media Vault

unRAID

Containers

Docker

While popular and easy to learn, Docker has some downsides. Some people tend to go overboard with Docker containerization and make things more complicated than they need to be. But when used in the right situations, Docker can excel.

Docker Managers

LXC

Backups

specialized backup servers make backups effortless and automatic and restoring easy

Proxmox Backup Server

RAID

explain raid philosopy. why don't we just connect a bunch of disks and call it good ("disk 1 for pictures, disk 2 for videos, etc")?

don’t be greedy. 50% storage efficiency is plenty

Raid is an expansive subject so it's gotten it's own page.

Networking

Switches

Routers

Multi-Gig LANs

Security

Opening to the Wider Internet

VPNs

Wireguard

OpenVPN

Mesh VPNs

Nebula

Tailscale

UnattendedUpgrades

Miscellaneous

External Links