How to Install Pi-Hole on Raspbian for Raspberry Pi

Posted on March 30, 2020 at 3:58 pm

First you need to install Raspbian on your Raspberry:

Download Raspbian for Raspberry Pi

Then login on your Raspberry and type these commands to update the OS:

sudo apt-get update
sudo apt-get dist-upgrade

To start the assisted Pi-Hole installation, type these commands:

wget -O pihole-install.sh https://install.pi-hole.net
sudo bash pihole-install.sh
sudo chmod +x pihole-install.sh
./pihole-install.sh

Then follow the instructions on the screen (just click on Ok or Next button).

You should set a static IP address and not an IP range, i.e:

192.168.1.255

And as gateway generally it is:

192.168.1.1

Now on your devices (an iOS, Windows or Mac), just change the DNS settings of the Internet connection to manual and insert the static IP address you configured in the Pi-Hole, i.e 192.168.1.225. Then restart the web browser and try to visit a website.

Receive updates via email

Other Posts

Updated Posts