Pi Server

I have a a couple of Raspberry Pi’s on my home network. One is a radio interface on the AllStar network, and the other is just a toy server – I can’t actually recall why I bought it. Both of them are Model 3B’s – I’d love a 4, but they are scarce and expensive.

This doesn’t have much to do with Swift, although it’s possible to run Swift on a Pi, or even Vapor. Mine is set up as a generic web server that I use as the back end for my tiny projects. It runs Node.js, apache and lighttpd webservers, PHP, MySQL, SQLite, and, when I get to that stage of my programmming, Postgres. I could do all that on my MacBook, but it’s somehow more fun on the Pi.

A recent addition is to run Pi-hole – a DNS sink to block advertisements on all devices on my network. It was a painless addition, and I enjoy looking at the stats as well as ads being blocked at the network level instead of depending on browser addons.

I’m not sure that I’ll stick with Raspberry Pi. With the current shortage, it probably makes more sense to repurpose an old laptop, or buy a refurb mini pc which for a similar $400 price tag would be substantially more powerful. One con of that approach is you can spend several weekends getting everything running linux properly, whereas with the Pis that’s all done for you. Another is the idle power consumption would be much higher than my slow Pi 3Bs.

One response to “Pi Server”

  1. Proxmox Hypervisor – dev.endevour Avatar

    […] mentioned a while ago that the price of the Raspberry Pi4 was getting such that it’s smarter to purchase one of the […]

    Like

Leave a comment