- **Epistemic status:** #budding The installation process for [[Pi-hole]] is simple, and leaving the default configuration is highly recommended. ## Before getting started If you're interested in installing [[Pi-hole]] in a Raspberry Pi with Raspian follow [[Initial setup for a Raspberry Pi with Raspian]]. In any other [[Linux]] system, it is required you [[Set a static IP for your system in Linux]] because if the system reboots, your router won't be able to find the server. Optionally, you can [[Change the hostname in Linux]] and [[Set up SSH for your system in Linux]] for making it easier on yourself on future maintenance. ## Installation To get [[Pi-hole]] installed, enter the following command: ```bash curl -sSL https://install.pi-hole.net | bash ``` When the installation is complete, you will get a generated password on your terminal, and you can log in to the dashboard with your browser `<ip-address>/admin` replacing the `<ip-address>` for the one of your device. Finally, you will need to navigate to the settings of your router to have the DHCP clients use [[Pi-hole]] as their DNS server. Each router has different ways of setting it up. Please consult the router's specific documentation for details. After the router has been set up correctly to have [[Pi-hole]] as your DNS server, you will start visualizing activity on the dashboard. --- ## References - “Installation - Pi-Hole Documentation.” Accessed May 10, 2022. <https://docs.pi-hole.net/main/basic-install/>. - “Overview of Pi-Hole - Pi-Hole Documentation.” Accessed May 10, 2022. <https://docs.pi-hole.net/>. - “Prerequisites - Pi-Hole Documentation.” Accessed May 10, 2022. <https://docs.pi-hole.net/main/prerequisites/>.