0397.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Installing Pi-Hole Ad-Blocker on Debian/Ubuntu</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Browser Based,Home Lab,Install Guide,Self-Hosted,Web Based,Web Based Tools,Ad,Ad Blocker,Ad Blocking,DNS,DNS Ad Blocking,Install Pi-Hole On Debian,Debian,Linux,Ubuntu,Pihole,Pi-Hole,Pi Hole,Networking,Network Wide Ad Blocking,Pi-Hole Installation Guide,Open-Source,Open Source,Network,FOSS,Free Open-Source Software,Free Software,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Installing Pi-Hole Ad-Blocker on Debian/Ubuntu">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="03/27/2022 12:44:34 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Installing Pi-Hole Ad-Blocker on Debian/Ubuntu</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>Installing Pihole</h2>
  26. <ol>
  27. <li>Click the Applications button &gt; Accessories &gt; Terminal</li>
  28. <li>Run the following commands to install updates
  29. <div class="codeBlock"># update software repositories<br />
  30. sudo apt update<br />
  31. # install available software updates <br />
  32. sudo apt upgrade -y<br />
  33. # clean downloaded software downloads<br />
  34. sudo apt clean<br />
  35. # install pihole<br />
  36. curl -sSL https://install.pi-hole.net | bash</div>
  37. </li>
  38. <li>Press Enter until the DNS selection is displayed</li>
  39. <li>Select a DNS provider and press Enter</li>
  40. <li>Press Enter through the rest of the Pi-Hole installer, selecting the defaults</li>
  41. <li>Copy the randomly generated admin password (just in case)</li>
  42. <li>Press Enter to complete the installation</li>
  43. <li>Run the following command to change the Pi-Hole admin password
  44. <div class="codeBlock">sudo pihole -a -p</div>
  45. </li>
  46. <li>Enter and confirm the new password</li>
  47. <li>Click the Applications button &gt; Internet &gt; Chromium Web Browser</li>
  48. <li>Navigate to http://DNSorIP/admin</li>
  49. <li>Click Login</li>
  50. <li>Authenticate with the admin password</li>
  51. </ol>
  52. <h2>Testing Pi-Hole</h2>
  53. <ol>
  54. <li>In a web browser, open a new tab and navigate to https://yahoo.com</li>
  55. <li>Go back to the Pi-Hole tab and see that some DNS queries have been blocked</li>
  56. </ol>
  57. <p>More on Pi-Hole <a href="https://pi-hole.net/" target="_blank">https://pi-hole.net/</a></p>
  58. </div>
  59. </div>
  60. </body>
  61. </html>