Live data from Hacker News

Raspberry Pi as a local server for self hosting applications

cri.dev

11–20 of 321 posts

Re: Raspberry Pi as a local server for self hosting applications

#11

I have a RP4 on my desk collecting dust, need to get it up and running for something useful. This post has got me motivated to find a use for it.

Glad to hear, enjoy!

Just set up a Tor proxy that I can connect to with one command from my PC, by connecting to the PI via SOCKs proxy, good times

Re: Raspberry Pi as a local server for self hosting applications

#12

I recently thought about getting an RPi4 but ultimately spent about a hundred dollars more to get a cheap NUC. It was a bit more expensive but it seems like a more robust platform. A real AC adapter instead of USB (apparently the RPi4 kind of botched it in some revisions? What I read wasn't confidence inspiring), takes normal SO-DIMM ram and a typical SSD, doesn't have a reputation for overheating.. it seems generall…

If you have an i5 or i7, you may also have the advantage of remote KVM (via Intel's vPro) so that you can revive it remotely if needed.

Re: Raspberry Pi as a local server for self hosting applications

#13
post #5

Nice! I recently wrote a blog article about home-hosting on a RPI4 using kubernetes ( https://kubesail.com/blog/k3s-raspberry-pi ). Such a bright future in home-hosting - really looking forward to seeing the movement grow! The https://www.linuxserver.io/ community is pretty great re: home-hosting apps as well.

How do I home host KubeSail?

Re: Raspberry Pi as a local server for self hosting applications

#14

One thing to watch out for when doing something like this is that the Raspberry Pi will by default put your file system on the SD card it boots from. SD cards aren't meant to support a lot of write/erase cycles, so it's easy to end up with a corrupt SD card after a few months to a year depending on what you're doing on your Pi. A workaround that can save you some headaches here is to only boot from the SD card (which…

Latest Pi’s can boot from external media. It’s possible to boot from an SSD

Re: Raspberry Pi as a local server for self hosting applications

#15
post #5

Nice! I recently wrote a blog article about home-hosting on a RPI4 using kubernetes ( https://kubesail.com/blog/k3s-raspberry-pi ). Such a bright future in home-hosting - really looking forward to seeing the movement grow! The https://www.linuxserver.io/ community is pretty great re: home-hosting apps as well.

That's awesome! didn't know about https://fleet.linuxserver.io/ !

Gotta definitely try this, thanks

Re: Raspberry Pi as a local server for self hosting applications

#16
post #5

Nice! I recently wrote a blog article about home-hosting on a RPI4 using kubernetes ( https://kubesail.com/blog/k3s-raspberry-pi ). Such a bright future in home-hosting - really looking forward to seeing the movement grow! The https://www.linuxserver.io/ community is pretty great re: home-hosting apps as well.

That's awesome! didn't know about https://fleet.linuxserver.io/ ! Gotta definitely try this, thanks

Yeah! They have a really great community in their chatroom as well - A lot of our Kubernetes templates are based on their excellent Docker images :)

Re: Raspberry Pi as a local server for self hosting applications

#17

I recently thought about getting an RPi4 but ultimately spent about a hundred dollars more to get a cheap NUC. It was a bit more expensive but it seems like a more robust platform. A real AC adapter instead of USB (apparently the RPi4 kind of botched it in some revisions? What I read wasn't confidence inspiring), takes normal SO-DIMM ram and a typical SSD, doesn't have a reputation for overheating.. it seems generall…

Which NUC did you end up with?

Re: Raspberry Pi as a local server for self hosting applications

#18
post #14

One thing to watch out for when doing something like this is that the Raspberry Pi will by default put your file system on the SD card it boots from. SD cards aren't meant to support a lot of write/erase cycles, so it's easy to end up with a corrupt SD card after a few months to a year depending on what you're doing on your Pi. A workaround that can save you some headaches here is to only boot from the SD card (which…

Latest Pi’s can boot from external media. It’s possible to boot from an SSD

You can't just say that without including a link :P

Anyways, I assume that the following is what you are referring to: https://www.raspberrypi.org/documentation/hardware/raspberry...

In that case, the following from the linked page might be worth making note of:

> To enable USB host boot mode, the Raspberry Pi needs to be booted from an SD card with a special option to set the USB host boot mode bit in the one-time programmable (OTP) memory. Once this bit has been set, the SD card is no longer required. Note that any change you make to the OTP is permanent and cannot be undone.

Not that it matters much to me but still something worth being aware of if you later try to repurpose your RPi for something else I think.

Re: Raspberry Pi as a local server for self hosting applications

#19
post #12

I recently thought about getting an RPi4 but ultimately spent about a hundred dollars more to get a cheap NUC. It was a bit more expensive but it seems like a more robust platform. A real AC adapter instead of USB (apparently the RPi4 kind of botched it in some revisions? What I read wasn't confidence inspiring), takes normal SO-DIMM ram and a typical SSD, doesn't have a reputation for overheating.. it seems generall…

If you have an i5 or i7, you may also have the advantage of remote KVM (via Intel's vPro) so that you can revive it remotely if needed.

Not to mention the built-in advantage of Intel's much better supported QuickSync video encode/decode if you're doing any sort of media streaming.
Post reply on HN