this post was submitted on 30 Dec 2023
70 points (91.7% liked)

Selfhosted

39964 readers
380 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
 

I found an old notebook PC lying around and I'm wondering if it could be enough to run a few services like the arr suite, qbittorrent and pi-hole.

Here's a few specs: Cpu : Intel Celeron 1011 1.6ghz Ram : 1Gig Ethernet port

If you think it's not a total waste of time, what distro would you install?

top 50 comments
sorted by: hot top controversial new old
[–] Moonrise2473@feddit.it 33 points 10 months ago* (last edited 10 months ago) (2 children)

I tried with a Celeron 1 GHz. It was slower than a rpi and it sucked 65 watts at idle πŸ™ˆ

But at least can give some experience, I prefer playing the sysadmin with real hardware than a VM

[–] Leax@lemmy.dbzer0.com 10 points 10 months ago (1 children)

That's good to know ha ha! At least I can have some fun before investing further...

[–] gravitas_deficiency@sh.itjust.works 3 points 10 months ago* (last edited 10 months ago) (1 children)

It is 100% a great idea to see how you feel about the concept of self-hosting with an old machine. If it’s really old (and I’m talking like anything from before about 2008-2010), perhaps consider snagging an old β€œtiny”/1L-class box from eBay for cheap. Dell, HP, and Lenovo units can be found for WAY under $100 all the time, and slightly more modern units can still be had at a reasonable price, depending on the model. They’re great platforms to play around with. Just shove a cheap SSD in there and play with it.

Source: an old m920q with an i5-8500T is running pfSense for my home network

[–] Leax@lemmy.dbzer0.com 2 points 10 months ago

Thanks. I might simply go for the raspberry pi solution as well.

load more comments (1 replies)
[–] StrawberryPigtails@lemmy.sdf.org 23 points 10 months ago (2 children)

It’s doable but you should treat it more as a learning opportunity than a production system. Honestly, that’s old enough that a RPi might be able to run circle around it.

The Celeron 1011 is a 32bit processor, so Debian or Gentoo may be the only distributions that still support it and you will probably have to compile from source anything you want to run. A gig of ram was good for its time.

The Linux Unplugged crew from Jupiter Broadcasting are currently doing a 32bit challenge to see if such systems are still usable for day to day usage. It’s going to be interesting.

[–] Leax@lemmy.dbzer0.com 1 points 10 months ago

Thanks! I haven't thought of the 32 bit issue... I might give it a try anyway for the experience!

[–] I_Miss_Daniel@lemmy.world 9 points 10 months ago (1 children)

If you get tired of that, you can probably turn it into a virtual fish tank and Johnny Castaway machine. (1GHz atom, 1gb RAM, XP)

[–] asbestos@lemmy.world 3 points 10 months ago (2 children)

I’m sorry but why would you do this

[–] I_Miss_Daniel@lemmy.world 3 points 10 months ago

Novelty only.

Keeping real fish is tedious and time consuming.

[–] BearOfaTime@lemm.ee 1 points 10 months ago

Other than "because I could", I have no answer

[–] Contort3860@links.hackliberty.org 6 points 10 months ago (1 children)

I've got Pi-hole and Syncthing running on an old netbook with an Atom CPU and 2 GB RAM. It's doing fine. Syncthing killed the little dual-core CPU while it was syncing all of the stuff I wanted, but now it idles along quietly on Debian. I doubt you're going to get much out of the machine, but it's perfectly fine for small, simple stuff like Pi-hole.

Distro-wise, I'd say Debian or similar if you want to set-and-forget (update once a week or month) or Arch/openSUSE Tumbleweed if you want it up-to-date (potentially more work needed).

Considering the hardware I'd also recommend whichever distro you go with without a GUI to keep the resource usage as low as possible.

[–] Leax@lemmy.dbzer0.com 2 points 10 months ago

Thanks, very helpful !

[–] AtariDump@lemmy.world 5 points 10 months ago (1 children)
[–] Contort3860@links.hackliberty.org 3 points 10 months ago (2 children)

What advantages would this give over plain Debian or similar? I'm a total noob, so I'd love something that might help me get a little more out of my little netbook 'server'.

[–] AtariDump@lemmy.world 4 points 10 months ago* (last edited 10 months ago) (1 children)

Check out their website; it’ll do a better job of explaining than I can/will.

https://dietpi.com/

[–] Contort3860@links.hackliberty.org 2 points 10 months ago (1 children)

Thanks, I'll check it out.

[–] wolfshadowheart@slrpnk.net 3 points 10 months ago

It's a great OS. Ran it for a long time

[–] SwissOS@sh.itjust.works 3 points 10 months ago (3 children)

dietPi is in fact Debian, with extra scripts to install/remove software. They also thinned it way down, so you get a working system with the bare essentials.

load more comments (3 replies)
[–] Cyber@feddit.uk 5 points 10 months ago (1 children)

Be aware that some old laptops had weird combined chipsets that Linux just can't use... I tried putting Linux Mint on a friend's laptop for their kids to use and the networking (wifi and cable) just wouldn't work... it was something that only Win98 / WinXP could use (from memory).

So just try anything in case you just need to ditch it - as someone else mentioned, treat it as a learning exercise.

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

Worst case, give it a go, learn the process even if it can't handle it, and you'll be able to do it easier when you have a capable machine.

load more comments (1 replies)
[–] huginn@feddit.it 4 points 10 months ago (1 children)

You'll probably save money in the long run using a pi.

[–] kSPvhmTOlwvMd7Y7E@lemmy.world 6 points 10 months ago* (last edited 10 months ago) (2 children)
[–] joenforcer@midwest.social 7 points 10 months ago* (last edited 10 months ago) (1 children)

Your math is wrong. If the Celeron runs 65W at idle then it is consuming at minimum 1.56kWh a day, at a price of €0.20 per kWh you're looking at a minimum operating cost of €113.88 a year.

You didn't factor in that days have 24 hours, not one hour.

load more comments (1 replies)
[–] huginn@feddit.it 2 points 10 months ago

11 years? Nevermind use the laptop for sure haha

[–] umbrella@lemmy.ml 4 points 10 months ago

you can probably even host your firewall in it

[–] loganb@lemmy.world 4 points 10 months ago

It depends on the size of your budget (if it exists at all). Your probably better off doing some e-waste dumpster diving. Shoot for something with a 3rd gen i3 / i5 or newer and at least 4gb of RAM.

That generation is when Intel added MPEG hardware encoder so it opens up a lot of options for self-hosting media servers.

[–] possiblylinux127@lemmy.zip 4 points 10 months ago

Maybe. You limiting factor is going to be power and thermals. I started on a broken laptop and moved to a minipc when I first started.

[–] Decipher0771@lemmy.ca 4 points 10 months ago (2 children)

Go for a vintage correct OS for a challenge, try Haiku!

[–] ripcord@lemmy.world 3 points 10 months ago

Hey, Haiku is a "modern" OS too :)

Hannah Montana Linux

[–] SRo@lemmy.dbzer0.com 4 points 10 months ago
[–] Lazz45@sh.itjust.works 3 points 10 months ago (1 children)

I run some of my services (until very recently including jellyfin) on my HP pavilion G6 from 2007. It still runs my wireguard, backup pihole, heimdall, etc. I run it on Linux mint (it was familiar) and cant do most things on screen (lags hard) but I can ssh or VNC in just fine

[–] Leax@lemmy.dbzer0.com 1 points 10 months ago (1 children)

Thanks that's good to know! Any performance issues? Are you torrenting with it?

[–] Lazz45@sh.itjust.works 2 points 10 months ago* (last edited 10 months ago) (1 children)

I torrented and seeded many torrents (its still seeding right now) and it can do at least 2 (havent tried more) jellyfin streams at once as long as I disable server side transcoding to reserve resources. I had the full arr suite of apps running along with ombi (gonna move to jellyseer, but imo ombi used too much ram on my 4GB laptop to be something I kept running). Is it perfect? No, it has quirks that will come up now and again but can I really complain when getting now 16 years of use out of a laptop I never thought I'd touch again once I built my desktop?

Edit: oh be aware, if you're using old hardware, DO NOT use the newest versions of things like Linux mint, it possibly won't have drivers that works for really old hardware (like wifi card, Lan card, etc.) and it won't be easily apparent sometimes. I solved this with a friend who had the same laptop as me but couldn't get internet once installing mint. It turns out he used a newer version of mint that did not have a way to support his wifi card and installing and older version solved it

[–] Leax@lemmy.dbzer0.com 1 points 10 months ago

Ha! Funny that, I had issues with my WiFi card too! I could connect but wouldn't have the right certificates. I solved this by using an Ethernet cable.

[–] accidentalloris@lemmy.world 3 points 10 months ago

I started out self hosting on a laptop maybe a little newer than yours. Pentium, 2gb RAM. I'm happier with my pi, but it's more than enough to get started on. Pretty sure pi-hole will run no problem, the others my struggle a little bit depending on your disk speed.

Your cpu will be a pretty limiting factor, but upgrading the RAM and putting in an SSD could boost the performance quite a bit.

[–] bruhduh@lemmy.world 3 points 10 months ago* (last edited 10 months ago)

Upgrade ram to the max and set zram and everything will be good to go

[–] shalva97@lemmy.world 3 points 10 months ago

It sounds too slow. Save yourself time and sanity.

[–] lnxtx@feddit.nl 3 points 10 months ago (1 children)

Alpine. But you are very low on the RAM. I will buy more RAM if I can (DDR2(?)).

[–] crunchpaste@lemmy.dbzer0.com 3 points 10 months ago

+1 I'm surprised nobody else mentioned it. Alpine seems to be able to run on anything.

[–] lemmyvore@feddit.nl 3 points 10 months ago* (last edited 10 months ago) (1 children)

I don't know about the whole 'arr suite but one BT client and PiHole should not be a problem. Provided you don't seed hundreds of torrents, but even that may work out ok-ish depending on the BT client – some of them like Transmission or rTorrent are more efficient than qBitTorrent or Deluge.

Edit: oh and distro, any distro provided you disable unnecessary services. And I'm assuming you plan to use it in CLI mode only.

load more comments (1 replies)

I self host using Debian on a 2010 macbook pro with a core 2 duo in it. It works well.

[–] foggy@lemmy.world 2 points 10 months ago (2 children)

Puppy Linux!

Xubuntu, Lubuntu, Gentoo, Peppermint...

Some others like damn small linux or nano Linux or Linux lite.

load more comments (2 replies)
[–] juli@programming.dev 2 points 10 months ago

Any distro. Energy consumption may be higher. Apart from that all good (I guess)

[–] Blackmist@feddit.uk 2 points 10 months ago (1 children)

I tried this recently with a 10 year old laptop. Much better specs than that. 6GB RAM, ran W10 incredibly slowly due to HDD.

I couldn't even boot the Ubuntu USB installer.

[–] hayalci@fstab.sh 3 points 10 months ago (1 children)

6GB is more than enough for many desktop environments. Plus, a server wouldn't have any anyway. not booting the Ubuntu installer seems like a bug, or other non-resource problem. if you try with a newer installer, or some other distro, that computer can host many things.

load more comments (1 replies)
[–] Decronym@lemmy.decronym.xyz 1 points 10 months ago* (last edited 10 months ago)

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

Fewer Letters More Letters
RPi Raspberry Pi brand of SBC
SBC Single-Board Computer
SSD Solid State Drive mass storage
VNC Virtual Network Computing for remote desktop access

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

[Thread #390 for this sub, first seen 31st Dec 2023, 16:45] [FAQ] [Full list] [Contact] [Source code]

[–] Leax@lemmy.dbzer0.com 1 points 10 months ago (2 children)

Edit: I did manage to install Puppy Linux onto it, but I was severely limited by the CPU which is 32bits. I'm trying another old laptop next! Thanks everyone!

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