this post was submitted on 06 Jan 2024
14 points (75.0% liked)

Selfhosted

39435 readers
6 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
14
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

Help me build a home server with a budget of €100/$109 (I live in Denmark)

I am thinking of buying it used how much ram who'd i need and what CPU

What I want to run on it

Nextcloud

RSS feed

transmission (if possible for the budget)

Maybe a few other small services

Photoprism (if possible for the budget)

Is this realistic for my budget?

Edit: Thanks alot for your really helpful comments

top 25 comments
sorted by: hot top controversial new old
[–] [email protected] 26 points 10 months ago* (last edited 10 months ago) (2 children)

I don't think you'll be able to build anything with €100, but you might be able to buy an old PC or laptop locally and use it as is. I've never run nextcloud myself, but from I've read it'll be the most taxing service on your list. Everything seems pretty minimal, though I don't know anything about Photoprism.

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

Yeah, for that price you won't find anything new. For illustration, when I bought a new Athlon 3000G, which was the very lower CPU on their AM4 offering, it was at 55€ without anything else.

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

Even a Raspberry Pi kit will blow that budget, but they may find some used SFF office PC for around that price.

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

From experience, older thinkpads usually sell for cheap, come with an inbuilt monitor, and are built sturdy. Highly recommend.

[–] astraeus 1 points 10 months ago

Older thinkpads in this price range will not perform well as servers. They will be pretty limited in specs. Better to go with a used SFF or other form-factor business model desktop.

[–] [email protected] 10 points 10 months ago

A second hand NUC off eBay

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

Start small. Find good used hardware first before thinking what services to run. I would start with an old desktop.

Self-hosting is a journey, not a destination. No matter what you buy you'll probably need to buy new hard drives. Used hard drives are a bit of a gamble.

Where do people buy used systems in Denmark? Show us a few things you're interested in and people can give you recommendations.

Also, instead of Photoprism, I would suggest Immich. I was a huge supported of Photoprism for years (even donated money) but their development is too slow. Immich is way faster and has an android app. Anyways, give it a look.

I think 8 GB of RAM is sufficient for all those services. I run them all with Yunohost and I rarely get over 4 GB RAM used.

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

dba.dk is a pretty popular site for buying used stuff in Denmark, but for electronics I usually go on eBay and sort by EU only (IIRC they removed that option so now the results are tainted with lots of UK gear that'll be hit with import taxes).

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

1

I have looked at

Lenovo Thinkcenter sælges. i5-3470 8gb ram 256gb HDD

Price 44 US Dollars 40 Euros

2

I5 4570 Vpro 3.2 ghz 4 gb ram 500 GB Hdd. (3.5")

Price

46 Euros 51 US Dollars

(It's a bit more expensive and has less RAM, but thinking of that, if the other seller has sold)

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

Both deals sound amazing to me, but get 8GB or prepare for RAM upgrade. 4GB could be enough for what you listed there, but you might find more services to run in the near future 🤪

I think those tiny PCs are perfect if you dont need more SATA ports. Its hard to beat them with that low price

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

I am glad the systems are good enough. Thanks alot for the reply

[–] astraeus 1 points 10 months ago

That think center looks perfect for this use case. Especially if it’s running Debian or arch.

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

The Raspberry Pi 5 might be good enough for your needs. The 8GB costs a bit less than 100€ without any accessories at the danish reseller, so it fits in your budget. I don't know if it's good enough for all your services.

[–] [email protected] 5 points 10 months ago

For that low of a budget I'd go look for used desktops to run - which is exactly what I did to get started .

Then raspberry pis

If you can go up further I've really enjoyed the beelink computers as tiny servers

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

The budget is way too low imo.

You could repurpose an old workstation, bought dirt cheap on eBay if you are lucky, but even then you'll have to get yourself an HDD, maybe multiple of them if you want to have data redundancy.

For anything new your best bet is a 2 bay ready made NAS, but you'll have to invest around 300€ for the cheapest one.

[–] astraeus 1 points 10 months ago* (last edited 10 months ago)

It is entirely possible to start with a 2-bay drive rack (not a caddy, we want something without the connections) and then run the SATA out the back of the computer to the drives. It’s a compromise for this low a budget, but it’s not a major sacrifice.

https://www.ebay.com/itm/115485675524

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

I used to have old ThinkStation as a home server. Even older ones like S20 I have couple of laying around is still pretty capable system (I'm typing this on one) and as they've been CAD workstations and things like that when they were new many have 12+GB of RAM already. I got mine for free troguh a work contact, but they should be available via ebay or (preferably) your local version of it for pretty cheap.

Then you just need new drives and their prices have dropped too. 100€ is a bit of a stretch, but if you can get a whole computer from someone in the industry it should be possible. I have a few systems laying around I could get rid of for a case of beer or something, but shipping alone from here would eat up majority of your budget (if anyone is interested in x3550 m3 throw me a message, located in Finland, I might remember the model wrong but that's roughly in the ballpark).

Other than thinkstations I'd say you'll want a xeon CPU with at least 4 hyperthread cores, 16GB RAM and all the drives your budget has left. SSD for a boot drive(s) is nice to have, but spinning rust will get you there eventually.

Many rack mounted servers only accept SAS-drives which are a bit more expensive. Tower mounts generally use SATA so you can just throw in whatever you have laying around. The main concern is amount of RAM available. For older systems it might be a bit difficult to find suitable components, so more you have already in place the better. For VM server I think 16GB or above is fine for learning and it might be possible to shoehorn most of the stuff in even with 8GB. Performance will definetly take a hit with less RAM, but with that budget some compromises are necessary.

So, in short, with that budget it might be possible if you have a friend who has access to discarded workstations or happen to stumble in a good deal with local companies. It'll require some compromises and/or actively hunting for parts and with old hardware there's always possibility of failure so plan accordingly.

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

Everything you want is definitely possible for the budget.

I used an old I5 laptop with 4GB of RAM for a year or two. If you need a lot of storage, an old HDD will be fine usually. A raspberry pi 4 or 5 will be slower, but would still work, but if Norway prices are anything like belgium, an old I7 laptop sips power and will save money in electric costs

A few tips:

  • Run nextcloud all-in-one or spend some time optimizing nextcloud. It will help performance a lot

  • Unless you are a serious photographer, use Immich, 100%. Immich is a google photos replacement that has a bunch of good user features like accounts and good security and sharing that photoprism just doesn't. Photoprism is really geared towards professional photographers.

  • transmission + wireguard container for a VPN is the way to go ...

  • radarr/sonarr/lidarr & prowlarr are good to use with transmission

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

If you want to start try to find something used on DBA, like an old laptop. If you are an student, maybe someone in your class upgrades their laptop and you can get it cheap. (Best a laptop where you can remove the battery, plus you need to change a setting so it doesn't go in standby when closing the lit)

You can add an external hard disk for nextcloud data.

My first home server was an raspberry pi, it's not great for nextcloud, you need to disable all preview image, and the UI might still be slow. Untop using an microSD card for the OS might randomly break (happens to me, SanDisk).

My second server was my old laptop, I used an laptop with i3 from like 2013 as server for a long long time.

Best thing I can recommend is to not rush and get the first best thing, try to look for a good deal. Start small and you can always increase your server in the future.

Wish you the best.

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

@[email protected] I don’t know Denmark but in the us I got a used desktop with 8gb and it ran way more services than that. I’m sure you can find something like that over there

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

Thanks for the response. I have already found a cheap system with 8gb of RAM, but I was worried it would need more than that.

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

Oh no, 8 GB will be plenty. I ran mine for years with just 4 GB.

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

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
NAS Network-Attached Storage
NUC Next Unit of Computing brand of Intel small computers
SATA Serial AT Attachment interface for mass storage
SSD Solid State Drive mass storage
VPN Virtual Private Network

5 acronyms in this thread; the most compressed thread commented on today has 10 acronyms.

[Thread #406 for this sub, first seen 7th Jan 2024, 00:55] [FAQ] [Full list] [Contact] [Source code]

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

You've already had some great answers to your question. FWIW, with your budget I'd just pull an old laptop out of retirement (but not too old, some server software requires 64 bit architecture) and use the money on storage. Find a small SSD for your system and add on the heftiest USB HDDs you can afford.

I had Transmission running quite happily for years on an early '00s netbook. Self hosting Nextcloud is another matter, I've seen install sizes balloon over time as updating backs up N prior versions on the server... I'm sure it will run fairly well off 8-10 years old machinery, though.

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

Does budget include storage? Tight budget without storage, even tighter with...

If power usage not a concern then used x86/x64 gear is probably the way to go. Surplus gear (corporate, university...) possibly an option for you. That's a very tight budget though, so I don't think it really gives you the luxury of choosing specs unfortunately. That said: I might go fot the best bones/least RAM/storage if you think you might upgrade it down the road. 4GB RAM with an upgrade path to 32 is preferable to 8GB non-upgradable IMHO. Likewise, 500GB spinny disk with extra bays and an NVME slot is nicer than 500GB SSD with no upgrade path. Again... really tight budget so this may all be out of the question.

I'm a fan of low power gear, so I'd recommend something like a Raspberry Pi 5 8GB, or another SBC (I just grabbed an Orange Pi 5 Plus and I like it so far


NVME, 16GB RAM, dual NIC). However these will be out of your budget, especially once you add case, power supply, and storage.

Good luck!