Download & copy BerryBoot to your SD to be able to add other OS’s to my Pi
Copy the data across to a FAT32 formatted SD card. Then put the MicroSD into your Pi and boot it, install Raspberian or your Linux flavour of choice.
Installing Pi-hole aka pihole
Boot your OS to command line and log in, make sure you have an internet connection. Choose one of the following
bash is controversial, as it prevents you from reading code that is about to run on your system.
sudo curl -sSL https://install.pi-hole.net | bash You can cut and paste the above code to the command line to install Pi-hole
Method 2: 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 You can cut and paste the above code to the command line to install Pi-hole
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.42/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