35
Old PC as Server (sh.itjust.works)
submitted 1 year ago* (last edited 1 year ago) by LazerDickMcCheese@sh.itjust.works to c/selfhosted@lemmy.world

I have an early 2000s PC (pre-SATA) with 512MB RAM (I'd love to tell you about the CPU, but its under a cooler that isn't going anywhere) that's been sitting in closets for about 15 years. Assuming I'm willing to buy into it, can something like that reasonably host the following simultaneously on a 40GB boot drive:

Nextcloud Actual Photoprism KitchenOwl SearXNG Katvia Paperless-ngx

Or should I just get new hardware? Regardless, I'd like to do something with this trusty ol business server.

Edit: Lenovo or Dell as the most cost-effective, reliable self-host server in your opinion?

you are viewing a single comment's thread
view the rest of the comments
[-] MoogleMaestro@kbin.social 21 points 1 year ago

Won't be able to do much, and even if you can do some stuff you have to keep on mind that the energy efficiency would be poor enough that you'd still be better off with a cheap pi from a cost perspective.

Really good point. Is a Pi recommendable for selfhosting?

[-] BigVault@kbin.social 7 points 1 year ago

If you want something small and cheap, it might be worth getting a used thin client PC.

I got a cheap £20 Igel thin client from eBay as raspberry pi’s were still far too expensive, plus I already had a spare 4GB ddr3 sodimm to drop into it and a 120gb wd green ssd that I’d stripped from its case and fitted internally into the thin client.

After upgrading it one ended up with a 1.2ghz AMD GX-412 cpu, 4gb DDR3, 120gb sata ssd and an external usb 3 1tb hard drive i also had laying around.

As a component of my homelab, it’s running Debian 12, docker with a few containers (pigallery 2, Libreddit, portainer, searXNG), it’s my backup Emby server and my main Pihole and PiVPN client.

Completely silent, sips power and still has capacity spare to run more containers and other projects that catch my interest.

https://www.parkytowers.me.uk/thin/Igel/ud/ud3/M340C/

That's a pretty cool solution, honestly. I'm considering all options here! I'd hate to invest then find out there are more cost-effective options or that I somehow limited the server's potential.

[-] briongloid@aussie.zone 2 points 1 year ago

That's what I'm using, it barely uses more power than a pi & it's a 64bit x86 4core with 16GB Dual Channel, 256GB SSD.

I've seen newer versions of what I have for cheaper than the average Pi4, I would never consider the Raspberry over this solution given how monolithically more powerful it is for how small they are.

I have Ubuntu 22.04 LTS Server without a desktop GUI and I control it on my PC via CMD with SSH user@localipaddress

[-] BigVault@kbin.social 1 points 1 year ago

Working really great for me. I originally just bought it to run Pihole on a dedicated machine and have a secondary pihole instance on my Unraid server in case either of them went down but leaving it sitting there with just PiVPN and Pihole duties seemed wasteful.

I'm getting even more out of it running some of the lighter containers on it with plenty of spare room to do more.

I've logged/uploaded my upgrade process here just so you can get some ideas on what I did.
https://imgur.com/a/ExcLdtt

It is bulkier than a raspberry pi, being around the size of a router but the low cost and being able to utilise hardware that I had sitting doing nothing made me go this route rather than just getting a pi.

[-] ThorrJo 1 points 1 year ago

ServeTheHome on Youtube has a great series called "Project TinyMiniMicro" which reviews commodity ultra-small business PCs from the standpoint of their usefulness as servers. I currently have 2 of these and will be replacing my 3rd server with one as well.

They're great as long as you don't need to shove a bunch of drives in them, low power, and often can be found used at dirt cheap prices as large corporations buy them by the thousands and then dump them used every time their IT plant undergoes a refresh.

[-] glue_snorter@lemmy.sdfeu.org 4 points 1 year ago* (last edited 1 year ago)

It's OK, but I'd suggest:

Atom > arm64 > arm32

I ran on a Pi 4, but switched to a PC for jellyfin. The pi can't transcode for shit. It was slow to boot and slow over SSH.

Look for a NUC - they're designed for desktop use, so they have more poke than a Pi. The N6005 CPU is a good choice, the N5105 is ok. These are x64, so you'll have the widest range of packages. 4GB will do, if its upgradeable later. NUCs usually take SODIMMs, which you can pick up on ebay for peanuts.

Bear in mind that network chipset will be your bottleneck in some use cases. If it has a "gigabit port" but only a cheap chipset, and you use it as a router, you might max out at ADSL speeds... in that case you'll wish you'd gone for a box designed for soft routing, which are a fair bit pricier.

[-] solberg@lemmy.blahaj.zone 1 points 1 year ago

It was slow to boot and slow over ssh.

I found that booting and connecting over SSH went way faster once I got a better SD card. Running an install script that took half an hour was down to just a couple minutes

[-] glue_snorter@lemmy.sdfeu.org 1 points 1 year ago

Hmm. I run mine off a usb3 ssd and it's faster, but still slow.

[-] ThorrJo 1 points 1 year ago* (last edited 1 year ago)

I'll put it this way as somebody barging into the conversation: I love tinkering with SBCs, but setup, install, usage, and maintenance are all a hell of a lot easier on x86 still.

Personally I have very little energy for unexpected issues, and when I gave up on SBCs for serving (as opposed to tinkering) everything got much easier and my progress got much faster.

I've been buying dirt cheap used business PCs for servers, works great, doesn't break the bank, and there are tons of parts available if you stick to the major manufacturers.

this post was submitted on 12 Aug 2023
35 points (87.2% liked)

Selfhosted

40443 readers
492 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 2 years ago
MODERATORS