Tag: homelab

  • Introducing HAMLOBE

    This began with my Raspberry Pi, as it often does.

    Since salvaging it from the depths of my closet storage, I’ve been putting all sorts of things on my Pi (GOGREZ)1, including:

    • Foundry VTT
    • Immich
    • Jellyfin
    • A wiki for D&D stuff
    • This freaking blog, dude!

    Etc. I wish I could say I was learning Linux, but the truth is that there is a swathe of pre-generated Linux information and guides, such that I really don’t think you need to “learn” it anymore. Installing Ubuntu now versus installing Ubuntu even five, six years ago is drastically different. And I’m sure installing a distro five years before that even more so! Thankfully, Linux, while still fairly esoteric to a complete noob, is a little more accessible than it used to be. I think I fit squarely in the realm of “dabbler.”

    I had seen various videos at times of people talking about homelabs, and I decided it wasn’t for me. First off, I didn’t know what that meant. Second, I had the Pi, the Pi worked fine, that’s the end of that. To be fair, it works “fine” as in, I would like to have a Pi 5, but the AI corpos stole all the RAM and jacked up prices. The 5 is a little easier to work with, with regard to external drives. But anyway.

    Cut to a couple months later, and I’m helping my friends move out of their apartment. (And into a new apartment, to be clear.) Among their possessions are a few things they want to get rid of, including electronics.

    Two things they planned to donate spark my interest: first, a Microsoft Surface 3 laptop (VELAGRANEX). I already have a laptop, but this one is smaller, with a 13.5″ screen, and is a little more portable. It came out in 2020 and it’s a perfectly serviceable laptop, plus I like how the charging port is magnetic. I currently have this at my bedside table just in case, you know, I wanna write something or whatever. (This sounds like I use it for porn. I haven’t used it at all for porn, but I guess I could!)

    The other thing was a Dell OptiPlex 3040 mini tower (OPTABAPROG). The moment I saw it I thought MEDIA SERVER. Very loudly in my head. I had window shopped a bit on the miraculous Free Geek eBay page for micro PCs for this very purpose, which were mostly OptiPlexes, both mini towers and micro PCs. You know, corporate office donations from businesses just throwing away money, I guess. And suddenly one was available, for free!

    a 3040 mini tower. wow. beautiful, such majesty.

    I took it home and installed Ubuntu on it–again, Ubuntu is such a delightful OS and even more now than it was five years ago. It looks great, works great, and feels like a modern OS. After installation I tried to watch some media on it (NOT porn, again), and I was hit with two major drawbacks:

    1. It only had a 128GB SSD (from 2017).
    2. The CPU was ONE generation behind HDR support.

    The first point was a known issue that I would work around, but the second was a dealbreaker. HDR looks great on my OLED TV and just didn’t make sense to use a PC that couldn’t handle it. I resigned myself to taking my new gift to Free Geek to donate on my friend’s behalf.

    Next: I had some camcorder tapes that my mom gave me digitized through a place called SaveVHS. They are local to Portland and did a GREAT job. Highly recommended, especially if you live in Portland because they’ll just come pick them up and return them to you for free.

    I had set up Immich on my Pi and really enjoyed it (it’s an open source Google Photos alternative), and when I got my video files back from SaveVHS, I saw that they were hosted on a Jellyfin server. I had loosely heard of Jellyfin and thought it was neat, but now I was a-thinkin’, I could put a Jellyfin server on my Pi! So I did that. And then, I guess the stars aligned in my brain, or I was in a depressive fugue state where only a Project would keep me sane (or both!), but I decided to buy a Dell OptiPlex 7080 micro PC from Free Geek. I would use it to be the actual Jellyfin server, to host these digital home movies and then, eventually, other stuff.

    I had to wait a week to get the dang thing though, because I unknowingly bought it right as Free Geek was moving their location. So while I was waiting, I got to thinking … “Where am I going to put these things?”

    I talked to Google Gemini about it. (Side Note #1: Gemini is the only LLM I use and I use it very sparingly, mostly for tech help. AI sucks in so many ways and I’m aware of my own usage of it, but one way in which it is actually genuinely beneficial is sifting through pages and pages of shitty tech forums with self-obsessed nerds debating nonsense to find an actual, usable solution to a tech problem.) Before that, though, I somehow discovered that there were “mini” server racks, which are, as you might expect, server racks, but for little things, like micro PCs and Raspberry Pis. Perfect for homelab setups.

    I did a lot of hemming and hawing, and Gemini was adamant that I shouldn’t get a mini rack because I couldn’t fit everything on it. For some reason, this made me very defiant. I’ll show you, AI bot, I thought, as I bought the mini rack you saw in the photo at the top of this post, along with several other things. One of those being a “PDU,” which of course stands for Personal Display of Uffection. It’s basically a fancy surge protector, allowing you to plug all of your electronics into it in an attempt to maintain the cohesiveness of the server rack. (It stands for Power Distribution Unit.)

    Side Note #2: Was Gemini right about the rack space? YES. Yes it was. But really the major issue is cables, which I don’t think even a larger rack would’ve fixed. There’s just so many cables. Honestly makes me wonder if you could just somehow install a PSU into the rack and … I gotta go do some research.

    Each rack section is 1U, where U = 1.75″ or 44.45mm height. Isn’t this insane? Why not 2″, or 45mm? Why do people do this. HAMLOBE is 4U which basically means there is kind of space for four things. Those things in HAMLOBE are, in order from top to bottom:

    1. PDU (facing the back)
    2. Dell OptiPlex 7080
    3. Raspberry Pi 4 and powered USB hub
    4. Two 500GB SSD for the PI (on a half shelf)

    At the very bottom is a 120mm fan pointed upwards to help circulate air. Normally I suspect the PDU is meant to go on the bottom, facing front. The one I bought has four plugs in the back and two in the front. The problem is that wall warts are blocky and stupid and none of them conform to any-fucking-thing. You’d think there would be some kind of standard for the size of a wall wart, such that you could plug one right next to another with no issue, but not only is this not the case, it seems like manufacturers are intentionally making their plugs wildly different sizes out of spite!

    like, for real. what the fuck.

    Now, at this point you’re inevitably thinking, “Wow Josh this is so cool, you are such a cool dude, and handsome, and probably good in bed. Surely this is the end of your project, right?” You’d think so, but no, because tech stuff always begets tech stuff. In this case: accessories. Peripherals.

    First, the 7080 didn’t have a power supply, so I had to order one. I ordered a 180W Dell power brick because Gemini was, again, adamant that I needed one. But Gemini was wrong this time. Because my 7080 didn’t have a discrete GPU, I could’ve used a power supply with less wattage.

    IN FACT. In some sort of anti-kismet, when I originally donated my Dell Inspiron laptop (FIRGADOR) to Free Geek weeks (months?) ago, I forgot to bring the AC adapter. I then took it when I donated the 3040 and picked up my 7080, which was a day before I got the 180W adapter. Do you see where I’m going with this? I COULD’VE USED MY INSPIRON ADAPTER. Maybe. I think I needed a 90W minimum, but I could’ve tried at least!

    Second, I had to get several new cables and such. There are always cables!

    Third: The 7080 has a 512 GB NVMe drive in it. One of those teeny tiny ones that they put in phones, I think, which was very cute to see when I opened up the case. When I transferred video files to the PC, it filled up very quickly. So I made an executive decision to purchase a hard drive enclosure so that I could repurpose a couple of old drives I have basically lying around.

    It’s a two bay enclosure because I thought only had two 1 TB hard drives, but when I checked I forgot I had a 2 TB WD Green (green! Remember green) drive that was formerly in an external hard drive case. I tore that sucker apart to get at the meaty hard drive insides a while ago, but then I ended up buying two 4 TB drives for THARGORAD, so I didn’t need it.

    After I set that all up, the hardware side of things was finished. The 7080, christened QIZARAK, had Linux Mint preinstalled on it. It is also a great distro, very easy to use, though there are some aspects of the backend stuff that made things difficult. Namely, transferring stuff over from my Pi to the 7080 was easy for Jellyfin, as it installed flawlessly on Mint and I already had the video files on the aforementioned teeny tiny NVMe, so I just had to transfer them over.

    Immich, on the other hand, was a pain in the ass. It requires (or recommends) Docker to install. I honestly don’t exactly know what Docker is but I believe it’s just a program that puts other programs into a “container,” because Linux programs oftentimes need other little side programs to function. (Mint also has a version of this called Flatpak.) Mint is Ubuntu, or close enough, but the names of their distro versions are different, so Docker won’t know what you’re looking for unless you do some code stuff that I, once again, just took from some other site that told me how to do it.

    (By the way, I know I complained about tech forums before, but there are also TONS of great, easy to use websites that tell you how to do a thing. They’re like recipe websites except the coder knows you don’t give a shit about reading two pages of their backstory.)

    One of the best parts about this setup is that when I use Caddy on my Pi to act as a reverse proxy for websites, I can use it to do that for Immich and Jellyfin on Qizarak. In other words, I don’t have to install Caddy on Qizarak, I can just use the Pi’s Caddy to point websites to Qizarak’s internal IP on my network. Which means Gogrez is acting as a pseudo VPN, I think. (I also don’t really have to do this at all. The only benefit is being able to access them outside of my router network. But it also is cleaner and I don’t have to remember a bunch of IP addresses.)

    And that, truly, is it! I tested Jellyfin out on my TV and it worked great, and Immich works great, and now I have a dedicated machine for media and a dedicated machine for web stuff and TTRPG nonsense.

    What’s next? Well … I should technically maybe probably buy a bigger hard drive for media, but … I’m going to let my wallet cool down for a bit for now.

    1. Should note now that the capitalized names are the “demon” names I give my electronics. Because it’s more fun! ↩︎