Zeal514

joined 1 year ago
[–] [email protected] 1 points 11 months ago

You will take my thanks, be happy about! Dammit!

[–] [email protected] 1 points 11 months ago

Yea, 100%. Easy fix with the right tools. Just call your ISP to come out and fix it for free.

[–] [email protected] 2 points 11 months ago

Think of it like the difference between renting and owning something. When you rent a home, you do not own it. You don't get to choose. Want a nicer water heater? Not your choice. The owner takes 100% of the responsibility, but often isn't penalized for misbehavior. So they can for instance, decide that they don't like you, and you no longer can use their servers. Or perhaps they dislike other companies, and strip features from the rental agreement. Even worse, all your valuable data, along with everyone else's, is all stored in a single valuable location, becoming a prime target for thieves. I half expect some of the "data breaches" we see are inside jobs, where the company leaves a loophole open, tells the "thieves" about it for a small sum of cash.

I personally like self hosting. Once you get into it, and understand how to reverse proxy, and set up a domain, you can essentially self host anything ridiculously easily. Like, for me, setting up a container, and funneling it into my reverse proxy maybe takes like 30-60 minutes, ironing out bugs and stuff? Sometimes if it's particularly easy, it takes like 5 minutes lol.

[–] [email protected] 1 points 11 months ago (3 children)

N5105 nas board, 32-64gb of ram, 1x 500gb nvme SSD, some sort of case, and a bunch of HDDs, I like the 8tb ironwolfs, they are cheap enough, but large enough.

Maybe the n6005 if you can find it. But it's a great server, handles most selfhost stuff. I run Ubuntu server on it, it's just the cleanest and easiest to use, no GUI needed.

What's nice is it's super low power, and cheap. So you can eventually migrate to a more powerful Proxmox server, on minipcs, like NAB6, than just turn the n5105 into a TrueNAS server, and even duplicate it for backups, and triplicate (if you are really feeling it), for redundancy. Getting a 2nd and 3rd Proxmox minipcs enables HA on VMs. So yea. That's my goal. ATM I gotta migrate to the Proxmox.

[–] [email protected] 1 points 11 months ago

Currently yes. But in the future, no.

[–] [email protected] 1 points 11 months ago

It would be to have two NAB6 mini PCs, I have seen them on Amazon and they are good machines. To those two machines install Proxmox and make them high availability.

Yea, but they won't be High Availability unless you have 3. Proxmox assigns HA Dynamically, meaning the machines vote. So you need a odd number. BUT, a cluster of 2 should be fine. Migrate the VMs over, to power down and perform maintence.

And then to that add a box with Truenas for storage. This is what I see a bit more complicated. Can you advise me something to build that does not go too much price?

I really like the n5105 nas boards, and the jxxxxx nas boards. I went with n51505. Basically what "Wolfgang" did on YouTube. It's more than powerful enough, perhaps overkill. But the benefit is it's a lot of sata ports, on a mini it's board, which is rare. You might find a better setup, I'm still planning this section out.

Only with the miniPc the budget would go to 900€, I currently have a synology ds220+ (that I plan to sell), with 2 4TB hard drives.

You could just do what I did initially. I just copied Wolfgang's build. N5105 nas board, a nas case (I used the fractal node, in his video), and put 32gb of ram (overkill). And a psu with a 500gb nvme. You can install TrueNAS on here. Run everything on here, media server, containers, etc. set your drives to ZFS. Then when you want to expand, you can get the NAB6 or something different...

You need to plan for what you intend to do. The setup I recommended is for like many VMs, for home labbing enterprise software to learn it. In addition to home server stuff, like media, are, vault, cloud, immich, etc. even a few windows and Linux VMs. It's A LOT. You can simplify it. You can even run proxmox on the n5105. And just set up a ceph ZFS storage pool.

[–] [email protected] 1 points 11 months ago (2 children)

First, Id make sure you have data lines setup. Get some PVC in the walls, and set yourself up to run data lines to every room.

I'd personally grab a NUC or 2, or honestly the NAB6 mini pc. Make them a Proxmox server, virtualize your apps in containers, or inside VMs. Getting 2 to 3 will enable High Availability for maintence.

I'd then build atleast 1 TrueNAS box, for storage. You can get 2 and create high availability here too. Additionally, you'll want set of drives for backups of your TrueNAS server (the 2nd TrueNAS box isn't a backup, it's a redundant drive, very diff). That said, you could use the 2nd TrueNAS as a backup, until you have money to spring for a backup.

You'll want a good router, you can run this on Proxmox, or just get separate hardware. Personally I'd get bare metal separate router. Than get a few switches, you'll want 1 for PoE for your cameras, and 1 with 2.5 high networking, and youll want them all to have 10 gig, so they can communicate with each other quickly. (You don't want a file transfer from 1 TrueNAS to the 2nd TrueNAS, to hog all your bandwidth between your switches, throttling your network speeds.). You'll then want some Access Points that connect to your switches, over PoE, for wifi, Ubiquiti is really good here.

[–] [email protected] 1 points 11 months ago (1 children)

If you are gonna do all of this. Just run Proxmox on your Nucs, and set up VMs, and just containerize, even clustering.

[–] [email protected] 2 points 1 year ago

Uh... You described next cloud. Not sure what exactly you dislike about it.

[–] [email protected] 1 points 1 year ago
[–] [email protected] 1 points 1 year ago
  1. Build your own router, segment your network. I suggest OpenWRT. Openwrt is less stream lined, which means you learn more. You'll learn trunking, VLANs, sub netting, DNS. Do it all through CLI.

  2. Reverse proxy, internal and external. Use Traefik or caddy.

  3. Encryption keys. Seems simple. But learn and master ssh keys. The Internet works by communicating from point A to point B. And keys help encrypt the traffic. You should be able to type "ssh hostname" to get into any server you want access to, without the need for a password. Bonus points for finding a secure way to set cronjobs to automatically cycle keys, for security practice.

  4. Docker machine. Master docker. Learn docker compose. Everything CLI.

  5. Proxmox. Put everything on a VM or container. Create a nas, for storage for your VMs. Bonus if it's strong enough to run many VMs, you can use to host a instance of any software that you are trying to learn. I for I stance am loading windows server 2022 and multiple windows 10 and 11 instances that I can control.

Do everything through CLI. Take notes on what you did (you won't remember, it's ok, no one remembers). Practice documentation.

[–] [email protected] 1 points 1 year ago (3 children)

A few reasons.

  1. Privacy, you control your data. It doesn't go to someone else's server to sit.

  2. Security. It's on your server. Password managers are primarily targets for hackers, i don't want to name names, cause I'm not 100% sure of the name. But, one pw manager was hacked like 3x in the past year or something. It's on your server, you are less likely to be targeted for a huge data breach, and you get to manage your data. Not someone else who fucks up.

  3. You can't be banned, or have the provider suddenly change access to the server, thus losing your data. I will name names here. MyQ garage door opener by Chamberlain suddenly removed the smart home integration, since the whole system ran on their servers. Removing the functionality users paid for. But they don't own it, so they just got fucked. Your data/service on someone else's server, is actually their data/service, you are just a visitor.

 

Title basically. I have like 7tb of data on my current raid array, and in the future, I plan to wipe it and make it ZFS, with 3 additional 7tb drives. I'd like to not lose all the data. I'm sure I can't be the only one who has this issue. What do you guys use for temporary backup solution, while repurposing your HW.

My current server runs Ubuntu server bare metal. I'm thinking of running Proxmox, than VM of TrueNAS, for ZFS, sharing the storage pool across, what would than be a Proxmox cluster of 2 machines (potentially a 3rd in the future). I think that this is probably the best way.

view more: next ›