Pihole

From Nick's Personal Wiki
Revision as of 03:32, 13 November 2026 by Nick (talk | contribs) (Initial creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Pihole

Requirements

The requirements for a device to run Pihole on a network are not a particularly significant barrier of entry, but they do exist and need to be adhered to.

They can be found [docs.pi-hole.net/main/prerequisites/ here] but the short of it is that the device must be running one of the specified Linux distributions (that use systemd / sysvinit) on one of the common binary architectures, with a static IP address.

Installing Pihole

Once a compatible device is obtained and running the host operating system, Pihole can be installed one of the following ways.

Using curl

Install everything you need via the below command:

curl -SSL https://install.pi-hole.net | bash

Cloning The Github Repository

Alternative to the above curl method, there is the option to install the packages from the official Github repository via:

git clone --depth 1 https://github.com/pi-hole/pi-hole.git Pi-hole
cd "Pi-hole/automated install/"
sudo bash basic-install.sh

Manually Via The Installer

There is also an official installer that is provided by the Pihole project, which can be retrieved and run like this:

wget -O basic-install.sh https://install.pi-hole.net
sudo bash basic-install.sh

Via Docker

Not covered at this time.

Configuring Pihole