Live data from Hacker News

Raspberry Pi as a local server for self hosting applications

cri.dev

71–80 of 321 posts

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

#71
post #66

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…

Very true for a given value of true 8) You need to evaluate all the components. The RPi itself is a decent piece of kit, well tested and safe to use. Get a decent power supply to it - either a RPi branded one or at least a decent mobile charger from a brand that you trust. I generally use a decent USB stick nowadays. RPi 4 from about a month or so ago onwards will do this out of the box. You can also put a second USB…

> RPi 4 from about a month or so ago onwards will do this out of the box

Are you saying you don't need an SD card at all and it will just boot off USB?

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

#72

The pi4 even overclocked isn't a great number cruncher, and I don't think the gpu acceleration has landed yet.. So I might expect it to be on par with that old of a macbook but not beat it by nearly 2x, particularly if the macbook is being accelerated. (despite having 2x the core count) Which makes me think the MBP may be suffering from some serious thermal throttling, which wouldn't be uncommon on machines of that v…

Definitely, good points. Gotta try your suggestion regarding the missing flag on the ffmpeg side and report back, out of interest. I’m on service battery since a long time in fact I consider this setup only temporary, and will soon upgrade to a modern machine

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

#73
post #25

Setting up a pi-hole DNS server for my wifi network was one of the best decisions I've ever made. Horrifying to see what percentage of traffic is on the ad server blacklist though...

I wasn't aware that my Samsung Smart TV had been logging almost my every action on the TV until I set up a PiHole server. Also, my respect for Apple grew by the fact that only device that wasn't doing loads of telemetry turned out to be my Macbook in the whole household.

> Also, my respect for Apple grew by the fact that only device that wasn't doing loads of telemetry turned out to be my Macbook in the whole household

Turns out that modern electronic devices are expensive. If you are not charged up-front, there's a good chance that you are being charged in some other way.

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

#74
post #45

I'm using my old Thinkpad T510 as a home server. It's been running for 7+ years already. I only need to dust the vents once in a while. It has PiHole, Nextcloud, my humble little Netflix clone, and a few other things. If you use ffmpeg a lot, you ought to have more power than the RPi offers. I often SSH into it to use it as a SOCKS proxy in other countries.

Very cool 7 years is a damn loong time. Interesting seeing how the experiment with the RPi will go

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

#75

I have tinkered with RPI a lot in my previous life, I used to maintain the Qt eglfs QPA plugin. Back then, they were quite under powered CPU wise. Are the recent versions powerful enough to host websites and data for every day use? Like say, is it powerful to host a website, couple of blogs, a nextcloud/syncthing instance and say Emby/Jellyfin/Plex? Most importantly, I want to hear about setups that people are using…

Using Emby actively right now and it’s working like a charm! Nextcloud will probably be my next experiment

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

#76

How do people access these servers off of their home network (or do they not?). That seems like most of the value to me, hosting some service you can access from anywhere without having to use Digital Ocean. It seems like most residential ISPs don't provide a static IP and some block port 80? I think forcing ISPs to allow home users to serve traffic via some standard method would go a long way to enabling a more dece…

> How do people access these servers off of their home network (or do they not?). Wireguard, listening on the public IP with port forwarding, and using a dynamic dns client to ensure I can always connect even if the public IP changes. > It seems like most residential ISPs don't provide a static IP and some block port 80? Not the case here in my experience (Spain), but if you're fine being the only one with access you…

Can the ZeroTier client create a tunnel without root access? That's the biggest weakness of WireGuard IMO. One of the things I like about ngrok is it doesn't require root.

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

#78
post #71
post #66

Earlier quoted context omitted.

Very true for a given value of true 8) You need to evaluate all the components. The RPi itself is a decent piece of kit, well tested and safe to use. Get a decent power supply to it - either a RPi branded one or at least a decent mobile charger from a brand that you trust. I generally use a decent USB stick nowadays. RPi 4 from about a month or so ago onwards will do this out of the box. You can also put a second USB…

> RPi 4 from about a month or so ago onwards will do this out of the box Are you saying you don't need an SD card at all and it will just boot off USB?

Yes, it can do that now.

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

#79

How do people access these servers off of their home network (or do they not?). That seems like most of the value to me, hosting some service you can access from anywhere without having to use Digital Ocean. It seems like most residential ISPs don't provide a static IP and some block port 80? I think forcing ISPs to allow home users to serve traffic via some standard method would go a long way to enabling a more dece…

Tor hidden service. Simple to configure, just works.

Done! Super simple install and configuration too!
Post reply on HN