Difference between revisions of "Pihole"
| Line 1: | Line 1: | ||
| − | + | = 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. | 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 [https://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. | They can be found [https://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. | 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: | Install everything you need via the below command: | ||
<nowiki>curl -SSL https://install.pi-hole.net | bash</nowiki> | <nowiki>curl -SSL https://install.pi-hole.net | bash</nowiki> | ||
| − | + | == Cloning The Github Repository == | |
Alternative to the above curl method, there is the option to install the packages from the official Github repository via: | Alternative to the above curl method, there is the option to install the packages from the official Github repository via: | ||
<nowiki>git clone --depth 1 https://github.com/pi-hole/pi-hole.git Pi-hole | <nowiki>git clone --depth 1 https://github.com/pi-hole/pi-hole.git Pi-hole | ||
| Line 19: | Line 17: | ||
sudo bash basic-install.sh</nowiki> | sudo bash basic-install.sh</nowiki> | ||
| − | + | == 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: | There is also an official installer that is provided by the Pihole project, which can be retrieved and run like this: | ||
<nowiki>wget -O basic-install.sh https://install.pi-hole.net | <nowiki>wget -O basic-install.sh https://install.pi-hole.net | ||
sudo bash basic-install.sh</nowiki> | sudo bash basic-install.sh</nowiki> | ||
| − | + | == Via Docker == | |
Not covered at this time. | Not covered at this time. | ||
| − | + | = Configuring Pihole = | |
Revision as of 03:33, 13 November 2026
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
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.