Pi-Hole Setup

Block nefarious websites & Ads.

Ports

Warning

See older revisions of this document for PiHole 4.x and lower. 5.x and above now uses a single SQLlite database for configuration.

Files

Installing

Uses Debian Stretch Server Base Install. Pi-Hole has an installer script on the website, but you should never blindly execute scripts from the Internet.

Download the GIT repository and run installer.
sudo apt install curl git
git clone --depth 1 https://github.com/pi-hole/pi-hole
cd 'pi-hole/automated install/'
sudo bash basic-install.sh

Note

The password will be listed on the summary page. This can be set using pihole -a -p and reached via http://pi.hole/admin, once DNS is set to Pi-Hole.