메뉴
HN
Hacker News 4일 전

카이젠 #4: 홈랩 대규모 개편

IMP
4/10
핵심 요약

이 글은 2년 만에 자신의 홈랩을 대규모로 개편한 과정을 다루고 있습니다. 네트워크 속도는 우수했으나 취약한 집안 구조와 Wi-Fi 사각지대 문제를 해결하기 위해 양질의 유선 케이블링과 우피퀴티(Ubiquiti) 유니파이(UniFi) 장비를 도입하였습니다. 기존에 사용하던 지마보드(Zimaboard)와 닉소스(NixOS) 환경의 용량 및 백업 유지보수 문제를 언급하며 홈랩 구축의 실질적인 고민과 해결책을 공유합니다.

번역된 본문

Kaizen #4: 대규모 개편된 홈랩 2026년 7월 5일 게시됨 | 14분 분량

나는 나의 환경 설정과 지속적인 개선 과정에 대해 더 많이 글을 쓰도록 스스로를 강제하기 위해 이 '블로그 시리즈'를 시작했다. 하지만 오늘까지 그 약속은 지켜지지 않았다! 이 포스트는 오랜 시간 준비된 것으로, 내 머릿속과 메모에 아이디어들을 담아두고 있었다. 내가 한 모든 것들을 다음 순서대로 설명하겠다:

  • 이전 설정
  • 네트워크 상황
  • 셀프 호스팅했던 것들
  • 네트워킹 (네트워크 장비 및 구축)
    • 광케이블 모험
    • 배선 작업
    • 차고 배선
  • 새로운 서버
  • 새로운 설정
    • Debian (데비안)
    • Dokploy (독플로이)
    • 미디어
      • Jellyfin (젤리핀)
      • Immich (이미치)
      • 파일
    • 모니터링
    • 기타 잡동사니
      • qBittorrent (큐비토런트)
      • Linkding (링크딩)
    • Mesh VPN (메쉬 가상사설망)
  • 최종 결과
  • 남은 과제

이전 설정 2년 전, 나는 내 홈랩을 개편했다. 여러 기기가 얽혀 있던 9U 서버 랙에서 벗어나, 메인 홈 서버로 사용할 새로운 기계를 구입했다. 그때 나는 마침내 내가 원하는 것이 무엇인지 파악하기 위해 앉아서 고민했다. 그리고 그것은 완벽하게 잘 작동했다... 문제가 생기기 전까지는. 당시 지마보드(Zimaboard)라는 새 기계에는 NixOS(닉소스)를 설치했는데, 훌륭해 보였고 백업을 위한 기본적인 크론탭(cronjob)을 설정하려고 하기 전까지는 완벽하게 작동했다. 나는 그 방법을 결국 이해하지 못했기 때문에, 시간이 날 때마다 기본적으로 수동으로 백업을 했다. 나는 훌륭한 도구인 Restic을 사용한다.

네트워크 상황 우리는 Bergen Fiber (Altibox)를 통해 750/750 Mbps 광랜 인터넷을 사용하고 있으며, 이는 우리의 필요에 충분하고도 남는다. 매우 안정적인 연결이며, 결코 느리지 않고 연결에 대해 전혀 불만이 없다. 올해 초 우리는 온전히 우리 소유인 집으로 이사했는데, 정말 끝내준다! 하지만 네트워크 상황은 그다지 좋지 않았다. 광케이블과 모뎀이 있는 곳을 제외하고는 집 안에 이더넷 포트가 단 하나도 없었다. 그리고 그게 어디에 있다고 생각하는가!? 이전 집주인이 TV를 두던 발코니 문 옆이다 (우리는 별도의 TV 방을 만들었다).

참고할 점은, 집 안 곳곳에 전화선이 많이 깔려 있었다는 것이며, 이에 대해서는 나중에 다시 언급하겠다. 보시다시피 이상적인 배치는 아니었는데, 특히 우리가 그곳이 개의 접근을 피해 고양이의 밥그릇을 두기에 완벽한 장소라는 것을 알게 된 후에는 더욱 그랬다.

내가 했던 지마보드 설정에 대해 내가 특별히 마음에 들지 않았던 또 다른 점은, NixOS를 온보드 플래시 저장 공간에 직접 설치했다는 것이다. NixOS 버전을 업그레이드하려고 할 때마다 저장 공간 부족 문제에 부딪혔다. 작동하게 하려고 할 때마다 빌어먹을, 매번 청소와 미세한 조정을 반복해야만 했다.

새 집으로 이사한 후 네트워크 상황 자체는 괜찮았지만, 차고에서는 와이파이를 잡을 수 없었다. 커버리지는 괜찮아 보였지만 집 밖이나 TV 방에서는 이상적이지 않았다. 라우터를 바닥에 두는 것이 최적의 장소는 아니라고 생각했지만, 거실 벽에 그것을 장착하고 싶지도 않았다. 모든 와이파이는 ASUS RT-AX92U 라우터에서 나왔으며, 이는 2층(라우터가 있던 곳)에서는 아주 잘 작동했다. 하지만 1층과 야외에서는 전혀 다른 이야기였다.

내가 셀프 호스팅했던 것들 내가 추출한 모든 미디어, TV 프로그램 및 영화의 경우 '그냥 작동하는' 정말 훌륭한 Jellyfin을 사용했다. 또한 훌륭한 iOS 앱인 plappa와 함께 오디오북을 위해 Jellyfin을 사용했다. 그리고 모든 Linux ISO에 대해서는 qBittorrent를 사용했다. 헤드리스(headless) 토렌트 클라이언트로 아주 잘 실행되며, 여기에도 훌륭한 iOS 앱인 qRemote가 있다. 또한 Foundry(판타지 트 RPG 플랫폼)와 일부 개인 프로젝트를 위한 여러 개의 작은 Docker 컨테이너도 있었다. 그리고 Nextcloud를 셀프 호스팅하기도 했지만, 유지 관리가 번거롭고 귀찮아졌다. 내 사용 사례에는 너무 무거웠다(비대했다).

네트워킹 (네트워크 장비 및 구축) 나는 유비퀴티(Ubiquiti) UniFi(유니파이) 장비를 구입했다. 구체적으로는 다음과 같다:

  • UCG Ultra (게이트웨이)
  • U7 Lite 액세스 포인트 3개
  • PoE 인젝터

또한 500미터의 새 이더넷 케이블 롤과 케이블을 직접 만들 수 있는 도구들을 구입했다. UniFi는 홈랩 커뮤니티에서 존경을 많이 받는데, 그럴 만한 이유가 있다. 오픈소스는 아니지만, 구독료가 없고 계정이 필요 없는 훌륭한 하드웨어다. 모든 장비를 사는 것은 쉬운 부분이었지만, 이것들을 모두 조립하고 연결하는 것은, 세상에, 완전히 다른 고역이었다.

원문 보기
원문 보기 (영어)
Kaizen #4: Overhauled homelab Published July 5, 2026 14 minutes read I started this “blog-series” to force myself to write more about my set up, and my continuous iterations. But it didn’t happen… until today! This post has been a long time coming, and I have kept the ideas in my head and notes. I will walk through everything I did, in order: Previous setup Network situation What I self-hosted Networking Fiber adventure Wiring Wiring the garage The new server The new setup Debian Dokploy Media Jellyfin Immich Files Monitoring Miscellaneous qBittorrent Linkding Mesh VPN Final result What’s remaining Previous setup Two years ago, I revamped my homelab . I had just bought a new machine to use as my main home server, coming from a 9U server rack with a bunch of machines tangled together. Back then I finally sat down to figure out how I want things. And it has worked great… until it hasn’t. The new machine back then, a Zimaboard, was set up with NixOS, which seems excellent and worked perfectly until I wanted to do a basic cronjob for backups. I never figured out how to do that, so I basically did my backups manually whenever I had the time. I use Restic, which is awesome. Network situation We have a 750/750 Mbps fiber-connection with Bergen Fiber (Altibox), which is more than enough for our needs. It’s a very reliable connection, never slow, absolutely no complaints about the connection. Earlier this year we moved to a house, where we own the whole thing, it’s amazing! But the network situation wasn’t great. Not a single Ethernet port in the whole house, except where the fiber and modem were located. And guess where that’s located!? Beside the door to the balcony, where the previous owner used to have their TV (we have made a separate TV room). One thing to note, there was a bunch of phone lines throughout the house, and we’ll get to those later. As you can see, not an ideal placement, especially after we found out that it was the perfect location for the cat to have his food, away from the dog. Another thing that I particularly didn’t like about the Zimaboard setup I had done, was that I chose to install NixOS directly on the onboard flash storage. Whenever I tried to upgrade the NixOS version, I ran into issues with having enough space. I had to do a bunch of clean ups and micro adjustments every fucking time to get it to work. My networking situation was fine after moving into the new house, but I was unable to get WiFi in the garage. The coverage seemed fine, but it wasn’t ideal outside or in the TV room. I don’t think having the router on the floor was the best spot, but I didn’t want to mount the thing on the wall of the living room either. All the WiFi came from an ASUS RT-AX92U router, which worked pretty well, especially on the second floor where it was located. But it was a whole different story on the first floor, and outside. What I self-hosted For all my ripped media, TV shows and movies, I used Jellyfin, which is so good, it just works. I also used Jellyfin for audiobooks with a great iOS app, plappa . And for all my Linux ISOs, I used qBittorrent. It runs great as a headless torrenting client, and there’s also a great iOS app for it, qRemote . I also had a bunch of small Docker containers, for Foundry and some personal projects. And I used to self-host Nextcloud, but it became cumbersome and just a hassle to maintain. It was bloated for my use-case. Networking I bought Ubiquiti UniFi gear, specifically: UCG Ultra U7 Lite access points x3 PoE-injectors I also bought a fresh roll of Ethernet cable, 500 meters, and tools to make my own cables. UniFi has a lot of respect from homelabbers, and for good reason. It’s not (F)OSS, but it’s excellent hardware with no subscription and no account required to use it. Buying all the equipment was the easy part, putting it all together, oh man, it was a totally different ordeal. Fiber adventure One of the first things I thought about when we bought the house was to move the fiber inlet and modem to the attic, so that it could be out of the way and not be an eyesore. I politely asked my local ISP, Bergen Fiber, if they could do it for me, or if they could provide me with a 5 meter fiber-cable SC/UPC. They said yes to providing me with a cable, and when I followed them up via email asking what I needed to do for them to send me the cable, they replied via SMS that they couldn’t 🙃. They could send me a 2 meter cable though. So I asked around, and spent some time looking for the specific cable online. Most of what I found was the wrong length or way too expensive for a short cable. I managed to find one, from a B2B company that is 5 minutes away from where I live. I asked a plumber-buddy of mine that shops there if he could pick up the cable, and he did for 32 kr (~ $3). Wiring Besides the fiber cable looking adventure, I had to wire up the whole house, especially for my new access points. I needed cables going from the attic to the living room, downstairs hallway, and to the garage in a separate building. In addition, I wanted Ethernet in my home office and TV room. How hard can it be? I asked a buddy of mine to help out figuring out the locations for all the things, and helping me pull cables. I told him it would take a few hours. We spent six hours, and he had to go home, I continued for three more days after that. I thought it was going to be easy… We started by moving the fiber and modem, which was easy, made a 42 mm hole in the wall from the attic and pushed a conduit down the wall to the living room, then we pulled the fiber. Worked like a charm! Then we made a hole in the middle of the ceiling in the living room for the PoE access point, that also was easy. But then came the hardest part, going from the attic, down two floors, without any existing conduit. Like I mentioned, there were phone cables throughout the house, but none of them were wired up, and the conduit didn’t lead anywhere near the attic. We spent the majority of the initial day pulling on the phone cables to figure out where they went and how we could get the wires from the attic. I ended up making a hole above a phone connection box in the living room, so that I could pull conduit from the attic down to the box. Because this box lead to the first floor, in the entrance. And the actual cable-making? What a fucking mess that was. I knew there was an order to do things in, but the ones I bought , had no documentation, so I just relied on the internet to figure out the order. It took me two hours to get a working cable, because I didn’t notice there was another transparent plastic bag within the transparent plastic bag with “guides” for keeping the twisted pairs in order. I only realized that when I read the bad reviews. I used a super simple cable tester to check that I made the cables right, it was a super worthwhile thing to buy, it would have been a headache without one. Wiring the garage My original plan was always to wire Ethernet to the garage, but I didn’t know how to do it. I knew there was conduit going from the house, but I had no idea if there was a room for an Ethernet-cable. Luckily, I found a cut telephone-wire in the garage coming from a yellow conduit, which was the same color as the conduit in the entrance where I had already wired the first floor! I was certain it was the same conduit, so I started pulling the cable to see if it moved the cable from the house, but nothing happened. I did all sorts of shenanigans to make the cable move, but it didn’t flinch, not one bit. I ended up ruining the insulation of the wire, that was how tight it was stuck. By pure coincidence, I found the old coax and telephone box still attached to the house outside. I opened it up, I loosened all the wires from the contraption, and followed the cables down the conduit on the outside of the house. L