this post was submitted on 07 Feb 2025
965 points (98.6% liked)

linuxmemes

22763 readers
583 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] nesc@lemmy.cafe 127 points 2 weeks ago (1 children)

    I need

    It's just fun to play with, there is no "need".

    [–] hanke@feddit.nu 29 points 2 weeks ago

    Yeah, I enjoyed my time with k3s setup at home as well, but right now I don't really want nor need that πŸ˜„

    [–] abbadon420@lemm.ee 93 points 2 weeks ago (3 children)

    I need a kubernetes cluster with high availability, load balancing and horizontal pod autoscaling, because that is something I want to learn. I don't care that it's just for wife's home-made dog collars webshop.

    [–] Dran_Arcana@lemmy.world 21 points 2 weeks ago

    This is the way

    [–] unwillingsomnambulist@midwest.social 9 points 2 weeks ago (2 children)

    You can do it on a handful of Raspberry Pis rather than one, then.

    [–] Zink@programming.dev 12 points 2 weeks ago (1 children)

    Imagine, if you will, a Beowulf cluster of Raspberry Pis!

    load more comments (1 replies)
    [–] ikidd@lemmy.world 8 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

    I don't get this; a Pi isn't even in the same conversation as an old rackmount server you can get for free. You couldn't stuff half the compute, ram and storage into a Pi or a dozen Pis for 10X the cost of grabbing something off eBay for a hundred bucks.

    That's if the Rpi Foundation is deigning to let us peasants even buy them these days.

    [–] unwillingsomnambulist@midwest.social 14 points 2 weeks ago (6 children)

    I have an old rackmount server I got for free. Dual Xeon X5650s, 192GB of RAM, four 8TB HDDs, and a pair of 250GB SSDs. I can only use it in the basement because it’s too loud to run anywhere else, but even then, it’s currently off because it trips its circuit breaker under heavy load.

    A power strip full of Pis in a k3s cluster doesn’t do that. I used a 2GB model 4 for the control plane and 3Bs as the workers.

    load more comments (6 replies)
    load more comments (1 replies)
    load more comments (1 replies)
    [–] passepartout@feddit.org 80 points 2 weeks ago (8 children)

    Switched from a raspberry pi 3 to a second hand x86 thin client (lenovo thinkcentre m920q) because raspberry pi 4 were not available at the time. Made me learn proxmox and a bunch of other cool stuff my raspi couldn't handle.

    I'm rooting for ARM / RISC-V to become more popular in desktop computing / servers though.

    [–] mesamunefire@lemmy.world 53 points 2 weeks ago (1 children)

    I've always liked riscv. Just the idea of literally everything on the device being open source is a fun idea. Manuals to everything.

    [–] refurbishedrefurbisher@lemmy.sdf.org 10 points 2 weeks ago* (last edited 2 weeks ago)

    Just because the ISA is open source doesn't mean that the end product or even the design will be open source.

    RISC-V is licensed permissively, giving anyone the right to make a proprietary (or FOSS) RISC-V processor.

    Often times, you'll see mostly open source cores, but then some extention is proprietary.

    [–] tofuwabohu@slrpnk.net 8 points 2 weeks ago (1 children)

    Waiting for proxmox-arm becoming a thing (I know there's some community versions trying it but I'm not sure how reliable they are)

    [–] ArbiterXero@lemmy.world 11 points 2 weeks ago (1 children)

    The hardware virtualisation available for arm just isn’t there yet

    [–] fuckwit_mcbumcrumble@lemmy.dbzer0.com 8 points 2 weeks ago (2 children)

    Apple Silicon Macs do a great job with virtualization. Outside of them there's just no nice high end hardware that's well suited for something like proxmox. It's either low end SBC, or the hyper proprietary ARM servers that I don't think we can even buy.

    load more comments (2 replies)
    load more comments (6 replies)
    [–] Agent641@lemmy.world 59 points 2 weeks ago (1 children)

    This struggle usually takes place over a weekend.

    [–] josefo@leminal.space 20 points 2 weeks ago

    This guy selfhosts

    [–] kekmacska@lemmy.zip 46 points 2 weeks ago (13 children)

    i think the best choice is a cheap used pc or laptop, or server. Reduces electric waste. I also host my own server on a 19 year old Dell Insprion 1300

    [–] Valmond@lemmy.world 19 points 2 weeks ago (9 children)

    Think centre tiny here

    Low consumption, two ddr4 slots, one 2.5" slot and one nvme slot! Lots of outside slots.

    Costed less used than a new pi too. They have gotten too expensive IMO.

    [–] Turbonics@lemmy.sdf.org 9 points 2 weeks ago

    Pi has gotten crazy expensive.

    load more comments (8 replies)
    [–] null@slrpnk.net 18 points 2 weeks ago (8 children)

    Reduces electric waste

    A lot of older equipment actually wastes more electricity.

    But it will cut down on electronic waste.

    load more comments (8 replies)
    [–] SkyNTP@lemmy.ml 13 points 2 weeks ago (3 children)

    Yes, but also no. Older hardware is less power efficient, which is a cost in its own right, but also decreases backup runtime during power failure, and generates more noise and heat. It also lacks modern accelerated computing, like ai cores or hardware video encoders or decoders, if you are running those appd. Not to mention lack of nvme support, or a good NIC.

    For me a good compromise is to recycle hardware upgrades every 4-5 years. A 19 year old computer? I would not bother.

    [–] RamenJunkie@midwest.social 9 points 2 weeks ago (1 children)

    Bro, I am just hosting a WordPress backup, an RSS reader, and a few Python scripts

    load more comments (1 replies)
    load more comments (2 replies)
    load more comments (10 replies)
    [–] bdonvr@thelemmy.club 42 points 2 weeks ago (6 children)

    A mini PC is a good middle ground. Mostly for the video transcode and machine learning power.

    Yeah, a mini PC... or if you already have one, why not 5 mini PCs?

    load more comments (5 replies)
    [–] daniskarma@lemmy.dbzer0.com 36 points 2 weeks ago (5 children)

    I think any mini-pc/old laptop is better, and probably cheaper than a raspberry pi nowadays

    [–] ByteOnBikes@slrpnk.net 25 points 2 weeks ago (2 children)

    I would have disagreed with you when Pis were like $50 and chaining 3 Pis together with a hard drive was a fun project to do self hosting.

    Now to get to the beefiest raspberry pi, it's $120. And in the range, yeah, for price and reliability, use a mini-pc/laptop.

    load more comments (2 replies)
    load more comments (4 replies)
    [–] cynar@lemmy.world 20 points 2 weeks ago (2 children)

    I've found that a pi is good enough, computationally, but not reliability wise.

    A lot of things like advanced light control goes through my host, so any lockups or crashes are bad. My pi held up for about 18 months before it began to play up. I've found a small NUC system has higher reliability for the same price and power usage.

    load more comments (2 replies)
    [–] shortrounddev@lemmy.world 20 points 2 weeks ago (2 children)

    I've discovered that there are a lot of medium-tier software engineers who immediately will go straight to horizontal scaling (i.e: just throw hardware at it), and I've seen instances where very highly skilled engineers just write their code better, set things up on a bare metal server, cache things, etc. and manage with just a single badass server

    [–] Ephera@lemmy.ml 13 points 2 weeks ago

    Even just the choice of programming language makes a big difference. Running a JVM language or NodeJS, Python, Ruby etc., you can be bottlenecked by a Pi. Meanwhile, Rust or C/C++ will use barely a fraction of those resources.

    load more comments (1 replies)
    [–] teuto@lemmy.teuto.icu 18 points 2 weeks ago

    See, I don't pay for the electric bill to keep my collection of old enterprise equipment running because I need the performance. I keep them running because I have no resistance to the power of blinkenlights.

    [–] Bishma@discuss.tchncs.de 17 points 2 weeks ago* (last edited 2 weeks ago)

    Yup, a pi is enough for me.

    Well... 5 Pis and an ancient NUC running proxmox are enough for me. And a DS920+... and an old laptop running docker are enough for me.

    [–] mesamunefire@lemmy.world 15 points 2 weeks ago (5 children)

    With Linux any old computer from yesteryear can become a quick server. That's what I do, just make sure you got backups.

    load more comments (5 replies)
    [–] capuccino@lemmy.world 14 points 2 weeks ago

    I had to buy a lenovo thinkcentre mini because was cheaper than a brandnew raspberry pi.

    [–] Badabinski@kbin.earth 11 points 2 weeks ago (1 children)

    I spend all day at work exploring the inside of the k8s sausage factory so I'm inured to the horrors and can fix basically anything that breaks. The way k8s handles ingress and service discovery makes it absolutely worth it to me. The fact that I can create an HTTPProxy and have external-dns automagically expose it via DNS is really nice. I never have to worry about port conflicts, and I can upgrade my shit whenever with no (or minimal) downtime, which is nice for smart home stuff. Most of what I run tends to be singleton statefulsets or single-leader deployments managed with leases, and I only do horizontal for minimal HA, not at all for perf. If something gives me more trouble running in HA than it does in singleton mode then it's being run as a singleton.

    k8s is a complex system with priorities that diverge from what is ideal for usage at home, but it can be really nice. There are certain things that just get their own VM (Home Assistant is a big one) because they don't containerize/k8serize well though.

    load more comments (1 replies)
    [–] merc@sh.itjust.works 10 points 2 weeks ago (5 children)

    The only problem I've had with Raspberry Pi is that some apps want to write a lot of stuff to "disk", and the default "disk" on a Pi is a MicroSD card which dies if you keep writing things to it. Sure, you can always plug something into a USB slot, but that adds a bit of friction to the whole process.

    Oh, also, I wish it were easy to power a whole bunch of Pi units. Each one needing its own wall wart is a bit annoying, and I've had iffy results using weaker, less steady power supplies with multiple ports intended for things like phones.

    [–] spongeborgcubepants@lemmy.world 8 points 2 weeks ago (7 children)

    I really recommend a HAT with SSD, totally worth the investment.

    load more comments (7 replies)
    load more comments (4 replies)
    [–] Diurnambule@jlai.lu 9 points 2 weeks ago

    So close. Started on raspberry pi. Went for a cluster with dpckrt swarm. Finished with a nas and a 10years old game computer as a mediacenter. (That the electricity bill whoch made me stop the cluster)

    [–] randombullet@programming.dev 9 points 2 weeks ago (5 children)

    Or you learn proxmox and running everything as a VM

    load more comments (5 replies)
    [–] corsicanguppy@lemmy.ca 8 points 2 weeks ago

    Ha ha

    Under-complicated -> over-complicated -> under-complicated.

    There's a 'just right' that I think you skipped through.

    [–] joyjoy@lemm.ee 7 points 2 weeks ago (6 children)
    [–] hanke@feddit.nu 33 points 2 weeks ago (1 children)

    None of the power, all of the hassle πŸ’ͺπŸ’ͺ

    load more comments (5 replies)
    load more comments
    view more: next β€Ί