Server for a boat

Good day, friends. Since catching the self-hosting bug, I've set up a couple of Proxmox home servers with a bunch of services I enjoy.

Now I'd like to set up a server and local network on my sailboat so I can self-host servarr, pihole, and other services while traveling. The tricky part is that everything on the boat is 12V and I would rather not use an inverter, if possible. Also, it needs to be ultra-low power so I can leave it on at all times and not to deplete my batteries too much.

Criteria:

  • ultra-low power
  • Small form factor
  • runs on 12V
  • 10 TB of storage plus ability to make full local backup
  • Capable of hosting servarr, audiobookshelf, freshrss, etc. via docker
  • HDMI output
  • Full local mirror/backup of the entire file system, including the media library.
  • We will have two laptops and two Android phones to access the server, so the server doesn't need to run a desktop environment.

I'll have a mobile wifi router and a cellular signal booster (or maybe Starlink eventually) for internet access. Since internet bandwidth will be limited and expensive while traveling, I don't want to have to re-download a massive media llibrary if the storage media fail. Thus, I want the media library to be mirrored or fully backed up or synced locally.

What hardware and Linux distro would you use in this situation?

HumanPerson ,

For hardware, I would go with sata ssds for storage. I also would recommend a separate boot drive as it makes re installing without loosing data a breeze. You could go with a new processor from intel or amd, and make sure it has onboard graphics. You should also go into the BIOS, enable xmp (always do that. It's free performance), and look for power saving settings. You could go for arm, but most arm computers lack expansion options and that can mean you use USB for drives which is unreliable. I think dc atx power supplies are a thing, but I know nothing about them. I would recommend doing ext4 and a raid, ideally 6 or 10. That will give you stability (from filesystem issues) and good reliability. I know RAID is not a backup, but in this case it may be what you want. RAID is for uptime, and it would be able to usually buy you enough time to finish your trip, or you could even have spare drives onboard and fix it while you're out in like 10 minutes. Also, I would highly recommend researching how to power it well. Starting an engine can mess with the power and could fry a computer. I don't know if a dc ups is a thing, but if it is, get it.

For software, use whatever you want, mostly. I always use debian for servers, but proxmox would probably be fine. You can use powertop to make sure it runs efficiently.

Eheran ,

What hardware does not run on 12 V?

Define ultra low power. Given the 10 TB + mirror (why?) I assume at least 2 HDDs have to spin. So at least 20 W total? I mean they can spin down, but leaving the system on 24/7 seems a bit far fetched, even if it only consumes 1 watt (0.1 A load, 2.4 Ah per day).

sailingbythelee OP ,

Yeah, good point. Now that you mention it, there is no real reason to run the server 24/7 on the boat. Also, HDDs would not be happy with the amount of bouncing that small sailboats undergo while at sea.

Churbleyimyam ,

I'd like to design a similar off-grid system. What do you have in mind for mobile wifi router and cellular signal booster?

sailingbythelee OP ,

I was looking at something like this mini-router with OpenWRT:

GL.iNet GL-AXT1800 (Slate AX) Pocket-sized Wi-Fi 6 Gigabit Travel Router, Extender/Repeater for Hotel&Public Network, VPN Client&Server, OpenWrt, Adguard Home, USB 3.0, Network Storage, TF card slot https://a.co/d/0iP7qaKj

For a signal booster:
weBoost Drive Reach Overland - Cell Phone Signal Booster for Off Road Vehicles | Boosts 5G & 4G LTE for All U.S. Carriers - Verizon, AT&T, T-Mobile & More | Made in The U.S. | FCC Approved https://a.co/d/00PNi0AE

Churbleyimyam ,

That travel router looks good. Will you also be using it to connect to the internet using a phone hotspot or just using it for a local network?

Pretzilla , (edited )

I run a NUC and a few other things off a 125W elcheapo $20 bestek(?) inverter off the house battery.

Sure it gets converted twice but the juice is cleaner in the end.

And consider DIYing a big house battery. The cells are cheap now. I built a 1200Ah LFP bank just because it fit nicely in the compartment. Then throw some solar at it.

And for backup, just get a large spinning external and plug it in occasionally to sync a copy. Put it back in the Tupperware for cold storage.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • selfhosted@lemmy.world
  • test
  • worldmews
  • mews
  • All magazines