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 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
This will execute the software for Pihole and begin the installation process by requesting things like a desired hostname, any users that need to be added, timezone settings, network connectivity, etc.
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
This will execute the software for Pihole and begin the installation process by requesting things like a desired hostname, any users that need to be added, timezone settings, network connectivity, etc.
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
This will execute the software for Pihole and begin the installation process by requesting things like a desired hostname, any users that need to be added, timezone settings, network connectivity, etc.
Via Docker
Not covered at this time.