Pi-hole is a free and open-source network-level advertisement and Internet tracker blocking application. It is designed to be deployed on a Raspberry Pi, but it can also be installed on other platforms such as Debian. This tutorial will guide you through the process of installing Pi-hole on Debian Latest.
Before we start with the installation, there are a few prerequisites that you need to fulfill:
Before installing Pi-hole, it is recommended to update your system’s package list and upgrade any existing packages to their latest versions.
sudo apt update && sudo apt upgrade -y
Pi-hole requires some dependencies to be installed, including dnsmasq (a lightweight DNS and DHCP server), and git (a version control system).
sudo apt install -y dnsmasq git
The next step is to download Pi-hole's installer script from their website.
curl -sSL https://install.pi-hole.net | bash
This command will start the installation process, and you will see the Pi-hole installation wizard.
The Pi-hole installation wizard will ask you a few questions to configure your Pi-hole installation:
O
” option)After completing the installation process, you can access the Pi-hole Web Interface by entering your Debian machine's IP address followed by "/admin" in your web browser. For example, if your Debian machine’s IP address is 192.168.0.10
, enter http://192.168.0.10/admin
in your web browser. You'll see the Pi-hole Web Interface where you can configure and manage your Pi-hole installation.
To test if Pi-hole is blocking ads and trackers, you can try browsing a website with excessive ads before and after installing Pi-hole. You should see a noticeable reduction in the number of ads displayed.
Congratulations! You have successfully installed and configured Pi-hole on Debian Latest. With Pi-hole, you can now block annoying ads and trackers on your network-level, making browsing the web a more pleasant experience.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!