Pi-Hole-Setup with jacklul’s update script

Why use Pi-hole?

Pi-hole is relatively easy to use, consumes less ram compared to โ€˜AdGuard Homeโ€™ a very common alternative to Pi-hole.

Setup process

Update all packages

sudo apt update && sudo apt upgrade

Run the official one liner command to install Pi-hole

curl -sSL https://install.pi-hole.net | bash

Navigate through the setup process. After install visit http://<IP_ADDRESS_OF_YOUR_PI_HOLE>/admin/ you’ll be greeted with the login page of pihole.

You can add configure everything from here, Recommended blacklist source https://github.com/blocklistproject/Lists

Install jacklul’s update script

Install requirements

sudo apt-get install php-cli php-sqlite3 php-intl php-curl

Install the script it self

wget -O - https://raw.githubusercontent.com/jacklul/pihole-updatelists/master/install.sh | sudo bash

Add ad list/white-list/regex/black-list URL in the config file, located at /etc path /etc/pihole-updatelists.conf https://firebog.net/ are a good source to get those links.

Configure the script to update automatically with a crontab entry in /etc/cron.d/pihole-updatelists

Links

https://github.com/pi-hole/pi-hole

https://github.com/jacklul/pihole-updatelists

https://firebog.net/

https://github.com/blocklistproject/Lists

Recommended Videos to follow along