Skip to content
← All postsUpdated: Dec 5, 20265 min read
Bangla version not uploaded yet

How I Started My Home Lab

How I Started My Home Lab

On this page

How I Started My Home Lab

One day I realized I had some spare parts lying around and could build another PC with them. I didn’t actually need another PC, though. What can you even do with a spare one?

I casually asked an LLM, and it suggested a Minecraft server, an ad blocker, a home media PC, and a few other ideas. After some Google searches and YouTube videos, I was convinced to start a home lab.

What Is a Home Lab?

As Google Search puts it:

> A homelab is a personal, home-based IT setup of computers, servers, and networking gear used to experiment with technology, learn new skills, and self-host digital services. It can be as simple as one old laptop or as complex as a rack of enterprise servers.

Simply put, a home lab is your own digital playground to mess around with devices, networking, routing, and building your own setups.

I wanted a home lab like that, and since I didn’t have enough parts to finish the PC yet, I started hunting for old laptops and phones instead.

First Setup: A Rooted Phone

My journey started with a camera. I bought one for my room to keep an eye on my cat and as a basic security measure when I was away. I needed somewhere to store the footage, and I didn’t have much local storage for large video files, so I got the idea to store everything on Google Photos.

Around that time, I had rooted my older brother’s old OnePlus 6T and was using it as a backup photo server to upload to Google Photos. No, I didn’t have a paid subscription. Google promised original Pixel (Pixel XL) users lifetime unlimited Google Photos backups in original quality, so I used a Magisk module to spoof the device identity to Google Photos as a Pixel XL, giving that phone unlimited backup access.

I was already using Syncthing to copy photos and videos from my main Android phone to that rooted phone, which then uploaded them to Google Photos. I figured I could do the same thing for my camera footage: record it to the phone, then upload it to Google Photos on a separate account using the dual-app / dual-workspace feature built into modern Android.

So I started hunting for an app that could record from my camera over an RTSP feed. I couldn’t find a good one that worked well. I needed a background recording app that would keep recording with the screen off, whereas every app I found was a monitoring app with recording as an optional feature.

That’s when I thought about building my own app. It turned into a massive rabbit hole, which we can talk about later. For now, I did end up making a janky app that recorded with the screen off and uploaded the footage to Google Photos on a separate account.

That was essentially my first home lab: an uplink node that backed up my daily photos, videos, and camera footage to Google Photos for free, accessible from anywhere at any time. I used that setup for about 6 to 7 months before my actual second PC replaced it.

Second Setup: The Spare-Parts PC

Eventually, I did it. I cobbled my old parts together into a functional PC:

  • CPU: Ryzen 3600

  • RAM: 16GB

  • Storage: 120GB SSD

  • GPU: GT 710 (just so the motherboard would post without complaining about a missing video device)

I was a huge Arch fan, so I installed bare Arch with no desktop environment and used SSH as my headless server interface. I installed Docker and Portainer, then just used the Portainer web UI for my homelabbing for however many months that setup was running.

My first service, like almost everyone else’s, was Pi-hole, a network-wide ad blocker. My first few Docker containers were all LLM-generated Compose files, which turned out to be a mistake. Running configs without knowing what they actually do, and then trying to debug the problems yourself, is a huge pain.

If you’re just starting out, don’t blindly trust LLMs:

1. Learn the basics: Use an LLM as an assistant to ask simple questions like what Docker is, what a Compose file does, and why you’d use it.

2. Start from official sources: Follow the official docs, a proper guide, or a YouTube video to build your initial setup.

3. Troubleshoot edge cases: Use LLMs later to spot and fix issues specific to your hardware or environment, since nobody’s setup is a one-to-one copy.

After Pi-hole, my focus shifted to a media server. I didn’t have much storage yet (only 120GB), so there wasn’t a lot I could host. Still, I started dabbling in the *arr stack to learn how each container talks to the others. Eventually, I swapped my main PC’s 256GB drive with the 120GB one to get a bit more room for media.

In the meantime, my phone setup was still running. I kept it plugged into a charger all the time with a charge limit set so charging would cut off at 75% and resume when it dropped to 70%, keeping it topped up without wearing out the battery.

Still, I wanted to retire that phone setup, so I started looking for a Docker-based Android alternative. I found Redroid, which runs Android using the host OS’s kernel so the overhead is low. It’s headless, meaning I could use ADB and scrcpy to view and control it. For a big chunk of time after setting it up, this was my main media backup tool. I have since removed it from my stack, which we can talk about later.

After that came random experiments with different Docker containers: Cloudflare Tunnel and Tailscale for remote access, Crafty Controller for hosting a Minecraft server, and various small tools I don’t even remember anymore. It was my sandbox to try whatever I wanted.

Moving On

That first PC was never meant to be a serious server. It was just a cheap sandbox to break things, learn the basics, and figure out what I actually wanted to self-host. Once I outgrew that setup and wanted something built to stay running, I moved on to my current server, and that’s where the real homelab begins.

Discussion

Comments

Loading comments...