this post was submitted on 18 Feb 2024
71 points (91.8% liked)

Selfhosted

40006 readers
552 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 7 months ago

I have a 10 year old CPU running Intel i3 (don't know what generation) with 12GB of ram, few HDSs (8TB, 2TB and 1TB) , SSD(128GB) for Debian.

The motherboard has a VGA and I don't have any VGA display with me. So if anything goes wrong at reboot, I mostly do guesswork and resolve it.

The PSU fan is whining and hanging on to its life.

I am an atheist , but I pray to God for my PSUs life.

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

Not sure if I'm late on the draw here, but:

Debian 12 "Bookworm" Ancient 2007 Quad Core Intel Q6600 ASUS P5N-T Deluxe Motherboard 8 GB RAM 64GB SSD for the OS and a few applications 6x2TB Laptop HDDs in RAID 5 - scavenged from electronics scrap All wrapped up in a spare full tower I had from an old build

For now, the few services I have running are local network only. They are simply a few Docker containers running PiHole and Portainer. The RAID array is set up as a network share via SMB for my various personal devices to dump files to.

I am very new to the whole self-hosted thing and enjoying learning. Really, new to Linux, servers, networking, etc. Would love to hear some recommendations on what services I should look into, resources for learning more, critiques, etc. So far, browsing topics on here has been pretty helpful.

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

Currently I have a pi4b running Home Assistant, Adguard, influx db, Maria db, Grafana, node red...

I have a pi3b running my main Adguard and Raspotify.

My main Pi can't handle Adguard and HA together, keeps crashing. So I just bought a Dell Optiplex 7050 mini to be an actual home server instead of having everything running as Home Assistant add-ons.

Planning on using it for Arr, Plex, HA, anything else I can think of, with my Pis being my Adguard and Raspotify instances and maybe get some Bluetooth tracking going in the house while I'm at it.

Might run a little Minecraft server for the kids too

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

It's running NetBSD, isn't it?

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

Like a fucked up ACL trying to do a kind of least-priviledged filesystem knowing absolutely nothing.

And 2 NUCs.

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

I have a pi5 running everything like a pihole and my lemmy instance

[–] [email protected] 7 points 8 months ago
[–] [email protected] 3 points 8 months ago (2 children)
  • Server - Desktop Tower

    • Build - Intel server board & CPU based on old serverbuild naskiller guide
      • OS on SSD
      • ZFS ON 8 6TB DRIVES, YIELDING ~36TB of storage, recoverable with up to two failed drives
    • Runs (via docker)
      • Navidrome (webui used daily @ work, dsub on phone, feishin on desktop)
      • Jellyfin (used almost exclusively locally on my TV, occasionally to watch with friends on web)
      • Nextcloud (used occasionally, mostly backs up password files, etc or to share. Thinking about replacing.)
      • QBitTorrent with glutun VPN
      • Audiobookshelf - used frequently for audiobooks. Occasionally for podcasts. Often more convenient to use antennapod/pocket casts on phone for active podcasts)
      • Kavitas - used seldom. Thinking about stopping. I like using obps on my rooted kindle to access my library.
      • Changedetection.io -watch some sites for new products, etc
      • Kiwix (local wikipedia copy I use shortcuts in FF locally to search for things)
      • Homepage (local links I use on local machines to my services)
  • Raspberry pi

    • Adguard home & unbound - block most garbage for any traffic from my home

Thoughts - I'm considering downsizing. I don't really need all that much space, and it can be a headache at times. With drive replacement costs on top of power (~$320 a year) I consider either going to a vps or downsizing to what could run on a small compute like the n100 or a raspberry pi5, etc.

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

Which vpn provider do you use for torrents?

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

Proton, some of their paid exit nodes support P2P

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

Look for 5W idle consumption boards + CPU combos which go down to package C6+ state. HardwareLuxx has a spreadsheet with various builds focusing on low power. Sell half your disks, go mirror or Raidz1. Invest the difference in off-site vps and or backup. Storage on any SBC is a big pain and you will hit the sata connector / IO limits very soon.

The small NUC form factors are also fine, but if your problem is power you can go very low with a good approach and the right parts. And you'll make up for any new investments within the first year.

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

Thanks! I need to look more into what the power implications of 8 drives is - they never spin down, so I assume they are a non-trivial portion of my power consumption.

That said, I've been considering upgrading to something recent and low power anyways. It would be a good opportunity to sneak in some useful features too,

  • Maybe the possibility of transcoding a video stream
  • USB3 (not a huge deal)
  • Non VGA display (useful, for when connection issues arise)
  • Audio jack (I could use navidrome jukebox mode!)

Which the old hardware wouldn't support without adapters, cards, etc.

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

Responding to myself...

Datasheet reports 7.05 idle watts (~11w at active random read) so depending on what it considers idle, it'd be 8*7.05|11= 56.4:88W

Server clocks in at ~102W. Halving the drives would reduce the power by 27 : 43%

And in theory other components (motherboard, CPU...) must be using anywhere from (102-88) :(102-56.4)= 14 : 45.6 W.

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

Oh okay that's a lot of power. For reference, I just set up an old Haswell PC as a NAS, idling at 25W (can't get to low Package C states) and usually at 28-30 running light workloads on an SSD pool. My plan was to add a 5 disk cage and at least 3 HDDs, with Raidz2 and 5 disks being the mid term goal. Absolutely unnecessary and a huge waste. I settled on less but larger disks, and in mirror I can get 12-18 TB usable space for under 500€. Less noise and power draw too.

[–] [email protected] 1 points 8 months ago* (last edited 8 months ago)

Self built Proxmox server (5600G/64gb ram/1x2tb nvme+4x4tb hdd) with 2 nics running litrally everything. List of services I run is long and Im too lazy to type them.

[–] [email protected] 1 points 8 months ago* (last edited 8 months ago)

Power

  • 2x feeds into the rack (same circuit but we'll work on that)
  • Eaton 2000VA double conversion UPS on Feed A
  • APC 1500VA line interactive UPS on Feed B (bypassed, replacing it with another double conversion 2kVA eventually)

Network

  • 2x Dell N2048P, stacked (potentially getting replaced with 2x stacked Cisco 9300)
  • FortiGate firewall
  • 1000/50 FTTP primary Internet link
  • 4G backup Internet link using a different Telco (the dream is to replace this with Starlink)

Storage

  • Synology 4-bay NAS with 4x4TB in RAID-10 (for overflow storage from Virtual SAN cluster)
  • HP MSL2024 8GB Fiber Channel LTO5 Tape autoloader for off-site backup

Compute

  • Dell R520 running VMware ESX for Production (2x Xeon E5-2450L, 80GB DDR3, 4x500GB SSD RAID-10 for Virtual SAN, 1x10TB SATA "scratch" disk, 2x10G fibre storage NICs, 2x1G copper NICs for VM traffic)
  • Dell R330 running VMware ESX for backups and DR (1x Xeon E3-1270v5, 32GB DDR4, 2x512GB SSD RAID-1, 2x4TB HDD RAID-1, 8G FC card for tape library)

A second prod host will join the R520 soon to add some redundancy and mirror the Virtual SAN.

All VMs are backed up and kept in an encrypted on-site data store for at least 4 weeks. They're duplicated to tape (encrypted) once a month and taken off site. Those are kept for 1 year minimum. Cloud backup storage will never replace tape in my setup.

Services

As far as "public facing" goes, the list is very short:

Though I do run around 30-40 services all up on this setup (not including actual non-prod lab things that are on other servers or various SBCs around the place).

If I had unlimited free electricity and no functioning ears I'd be using my Cisco UCS chassis and Nexus 5K switch/fabric extenders. But it just isn't meant to be (for now, haha).

[–] [email protected] 1 points 8 months ago
  • Ryzen 2700X on a gigabyte B450i

  • Arc A380

  • 2 mirrored 4TB HDDs and 1 12 TB HDD, luks encrypted and on 2 zpools (I have an "unsafe" mount path for data on a single drive like media)

  • removable flash drive with boot partition and main SSD keyfile

-Zwave dongle

That's it.

I can run everything I need to on it and my home internet is only 100/30 still because I don't live in a city, so 2.5gig networking isn't worth the cost. a380 does all of the hardware transcoding I need at a fairly low power. It isn't as good as just getting a newer NUC, but it was cheaper and a fun project.

Also doing a full renovation, so KNX will be connected for home assistant to control my lights and things and my smart home stuff will probably balloon.

[–] [email protected] 3 points 8 months ago

A single nuc with I dunno what

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

I have 5 servers in total. All except the iMac are running Alpine Linux.

Internet

Ziply fiber 100mb small business internet. 2 Asus AX82U Routers running in AiMesh.

Rack

Raising electronics 27U rack

N3050 Nuc's

One is running mailcow, dnsmasq, unbound and the other is mostly idle.

iMac

The iMac is setup by my 3d printers. I use it to do slicing and I run BlueBubbles on it for texting from Linux systems.

Family Server

Hardware

  • I7-7820x
  • Rosewill rackmount case
  • Corsair water cooler
  • 2 4tb drives
  • 2 240gb ssd
  • Gigabyte motherboard

Mostly doing nothing, currently using it to mine Monero.

Main Cow Server

Hardware

  • R7-3900XT
  • Rosewill rackmount case
  • 3 18tb drives
  • 2 1tb nvme
  • Gigabyte motherboard

Services

  • ZFS 36TB Pool
  • Secondary DNS Server
  • NFS (nas)
  • Samba (nas)
  • Libvirtd (virtual macines)
  • forgejo (git forge)
  • radicale (caldav/carddav)
  • nut (network ups tools)
  • caddy (web server)
  • turnserver
  • minetest server (open source blockgame)
  • miniflux (rss)
  • freshrss (rss)
  • akkoma (fedi)
  • conduit (matrix server)
  • syncthing (file syncing)
  • prosody (xmpp)
  • ergo (ircd)
  • agate (gemini)
  • chezdav (webdav server)
  • podman (running immich, isso, peertube, vpnstack)
  • immich (photo syncing)
  • isso (comments on my website)
  • matrix2051 (matrix to irc bridge)
  • peertube (federated youtube alternative)
  • soju (irc bouncer)
  • xmrig (Monero mining)
  • rss2email
  • vpnstack
    • gluetun
    • qbittorrent
    • prowlarr
    • sockd
    • sabnzbd
[–] [email protected] 1 points 7 months ago (1 children)

Why do you host FreshRSS and MiniFlux if you don't mind me asking?

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

I kind of prefer mini flux but I maintain the freshrss package in Alpine so I have an instance to test things.

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

Thank you. I'm looking at sorting an aggregator out and am leaning towards Miniflux

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

N100 that just got built today with only Ubuntu and portainer installed. I still gotta migrate what I had in my main PC, which was emby, sonarr, bazarr, qbittorrent and prowlarr. It'll be...fun

load more comments
view more: next ›