Installing Pi-Hole Ad-Blocker on Debian/Ubuntu 🌱

Installing Pihole

  1. Click the Applications button > Accessories > Terminal
  2. Run the following commands to install updates
    # update software repositories
    sudo apt update
    # install available software updates
    sudo apt upgrade -y
    # clean downloaded software downloads
    sudo apt clean
    # install pihole
    curl -sSL https://install.pi-hole.net | bash
  3. Press Enter until the DNS selection is displayed
  4. Select a DNS provider and press Enter
  5. Press Enter through the rest of the Pi-Hole installer, selecting the defaults
  6. Copy the randomly generated admin password (just in case)
  7. Press Enter to complete the installation
  8. Run the following command to change the Pi-Hole admin password
    sudo pihole -a -p
  9. Enter and confirm the new password
  10. Click the Applications button > Internet > Chromium Web Browser
  11. Navigate to http://DNSorIP/admin
  12. Click Login
  13. Authenticate with the admin password

Testing Pi-Hole

  1. In a web browser, open a new tab and navigate to https://yahoo.com
  2. Go back to the Pi-Hole tab and see that some DNS queries have been blocked

More on Pi-Hole https://pi-hole.net/