Install Pi-Hole on Raspberry Pi 4

Channel:
Subscribers:
14,400
Published on ● Video Link: https://www.youtube.com/watch?v=hj9psmGxmVk



Duration: 2:12
445 views
4


#PiHole #AdBlocking #RaspberryPi4

Full steps can be found at https://i12bretro.github.io/tutorials/0473.html

--------------------------------------------------------------------
Installing Pi-Hole
--------------------------------------------------------------------
   01. Log into the Raspberry Pi
   02. Run the following commands in a terminal window
         # update software repositories
         sudo apt update
         # install available software updates
         sudo apt upgrade -y
         # clean up downloaded apt files
         sudo apt clean
         # install pi-hole
         curl -sSL https://install.pi-hole.net | bash
   03. Press Enter until the DNS selection is displayed
   04. Select a DNS provider and press Enter
   05. Press Enter through the rest of the Pi-Hole installer, selecting the defaults
   06. Copy the randomly generated admin password (just in case)
   07. Press Enter to complete the installation
   08. Run the following command to change the Pi-Hole admin password
         sudo pihole -a -p
   09. Enter and confirm the new password
   10. Open a web browser and navigate to http://localhost/admin to view the pi-hole admin interface
 
--------------------------------------------------------------------
Testing Pi-Hole
--------------------------------------------------------------------
   01. Back in the terminal, run the following commands to use the local pi-hole instance for DNS
         sudo nano /etc/resolv.conf
   02. Add the following line at the top of the other nameservers
         nameserver 127.0.0.1
   03. Press CTRL+O, Enter, CTRL+X to write the changes to resolv.conf
   04. Back in the web browser, open a new tab and navigate to a site that contains ads, like https://yahoo.com
   05. Watch the Pi-Hole interface to see the ads being blocked
 


### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro







Tags:
Network Wide Ad Blocking
Pi-Hole
Raspberry Pi 4
Install Pi-Hole Raspberry Pi
DNS
Ad Blocking
Raspberry Pi
RPi
Linux
Ad Blocker
Pi Hole
How To
Tutorial
i12bretro