this post was submitted on 30 Dec 2023
81 points (92.6% liked)

Selfhosted

40313 readers
197 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
[–] [email protected] 34 points 10 months ago* (last edited 10 months ago) (1 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

[–] [email protected] 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 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

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

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

[–] [email protected] 26 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.

[–] [email protected] 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)

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

I’m sorry but why would you do this

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

Novelty only.

Keeping real fish is tedious and time consuming.

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

I wouldn't dare to charge that old battery up. Some of them can start a fire.

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

Thanks, it's removable

[–] [email protected] 7 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.

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

Thanks, very helpful !

[–] Ookami38 6 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)
[–] [email protected] 5 points 10 months ago (2 children)

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

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

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

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

Hannah Montana Linux

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

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

[–] [email protected] 6 points 10 months ago* (last edited 10 months ago) (2 children)
[–] [email protected] 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)
[–] [email protected] 2 points 10 months ago

11 years? Nevermind use the laptop for sure haha

[–] [email protected] 5 points 10 months ago (1 children)
[–] [email protected] 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'.

[–] [email protected] 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/

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

Thanks, I'll check it out.

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

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

[–] SwissOS 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)
[–] [email protected] 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)
[–] [email protected] 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.

[–] [email protected] 4 points 10 months ago
[–] [email protected] 4 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.

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

you can probably even host your firewall in it

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

I would look into buying a mini PC and throwing a hypervisor on it.

load more comments (2 replies)
[–] [email protected] 4 points 10 months ago* (last edited 10 months ago)

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

[–] [email protected] 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.

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

Puppy Linux!

Xubuntu, Lubuntu, Gentoo, Peppermint...

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

load more comments (3 replies)
[–] [email protected] 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)
[–] [email protected] 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(?)).

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

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

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

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

[–] Lazz45 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

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

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

[–] Lazz45 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

load more comments (1 replies)
[–] [email protected] 3 points 10 months ago

It sounds too slow. Save yourself time and sanity.

[–] [email protected] 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.

[–] [email protected] 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)
[–] [email protected] 2 points 10 months ago

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

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

No, just get a raspberry pi instead

load more comments
view more: next β€Ί