I first installed BerryBoot to be able to add other OS’s to my Pi
https://www.berryterminal.com/doku.php/berryboot – I downloaded the relevant ZIP for the Pi 2 and then copied the data across to a FAT32 formatted SD card from Windows. Then I put the MicroSD into the Pi and booted it and had it install Raspberian.
Method I used is to clone the repository and run
git clone --depth 1 https://github.com/pi-hole/pi-hole.git Pi-hole cd "Pi-hole/automated install/" sudo bash basic-install.sh You can cut and paste the above code to the command line to install Pi Hole.
wget -O basic-install.sh https://install.pi-hole.net sudo bash basic-install.sh
Make your network take advantage of Pi-hole
Once the installer has been run, you will need to set either your PC or your router to use Pi-Hole as their DNS server. Using it on your router ensures that all devices connecting to your network will have content blocked without any further intervention.
Log into your router’s configuration page and find the DHCP/DNS settings. Note: make sure you adjust this setting under your LAN settings and not the WAN set it to the IP of your Pi-Hole.
As a last resort, you can always manually set each device to use Pi-hole as their DNS server.
Configuring your Pi-Hole
Type your Pi-Hole’s URL into your browsers address bar and include a /admin, for me that is http://192.168.8.140/admin
To do more you’ll need to log in with your password which you should have received during the install.
Default SSH Access Details
- User: pi
- Password: raspberry