How to update Pi-hole
I installed my Raspberry Pi as a network-wide adblocker with Pi-hole.
It works great.
Sometimes it’s necessary to update the Pi-hole software because new releases are updated, and so on.
You will see this notice at the bottom of the Pi-hole admin interface:
You can update it manually by logging in the Raspberry Pi, using VNC or SSH, and then run the
pihole -up
command.
And the version will be updated:
You can setup a script to run pihole -up
from time to time automatically, using a cron job.
Run crontab -e
and then at the bottom add
0 6 * * * pihole -up
to run it every day at 6am.
I wrote 19 books to help you become a better developer:
- HTML Handbook
- Next.js Pages Router Handbook
- Alpine.js Handbook
- HTMX Handbook
- TypeScript Handbook
- React Handbook
- SQL Handbook
- Git Cheat Sheet
- Laravel Handbook
- Express Handbook
- Swift Handbook
- Go Handbook
- PHP Handbook
- Python Handbook
- Linux Commands Handbook
- C Handbook
- JavaScript Handbook
- CSS Handbook
- Node.js Handbook