My Pi Hole
I just installed pihole on my webserver. This was a little complicated by the fact that it was already running apach2 to serve up some webpages and this is not officially supported by pihole. It di however install it's site under /var/www/html/$pihole-stuff so I just had to make the webserver see those pages as well as the virtual hosts. I had disabled 000-default.conf (for reasons that I now cannot remember) but re-enabling it meant I could access the pihole admin pages with no problems.
The Pi serves: http://saxicola.co.uk and http://hazelbeach.co.uk as well as some internal monitoring stuff as well as an experimental server for other stuff.
It also has an UPS based on my custom PCB (with hardware a clock too!) and 6 AA NiMh batteries. If the power is off for more than 30s (user configurable) then it does a safe shutdown. It reboots when power is restored. Maybe I'll make that available on GitHubLab soon but I'm working on a better version. The power off time you set depends on what's plugged and the capacity of the batteries. Experimentation is required to determin the optimal time. The Mk2 will have a battey monitor based on an Attiny45 that can shutdown before the voltage falls too far to be viable.
Last changed: 24. February, 2019 at 11:51
Back to OverviewComments
Add Comment
