Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
CentOS and RPi3
Note: We now support Fedora, RHEL and CentOS via the automated installer. These directions will be left here for historical purposes.
Install on CentOS 7 and RPi3
To get pi-hole running on an RPi3 running CentOS 7.x takes a few extra steps.
Once your RPi3 is up and running CentOS 7.x you'll notice that there is no EPEL repo for the Arm7 architecture available at the moment. This means you'll not be able to easily install lighttpd or spawn-fcgi which are required.
Setup an rpmbuild environment RPM Build
Build install rpms from both of those srpms. You'll need to install lighttpd lighttpd-fastcgi and spawn-fcgi.
Install using normal methods listed here should work, but you might run into some minor issues which are known and being worked on at the time this page was written.
- Network config (/etc/sysconfig/network-scripts/ifcfg-eth0) could be missing a GATEWAY= directive. This will cause the install to fail.
- There are two packages that need some attention before the install will complete cleanly:
- epel-release does not exist
- netcat is named differently in CentOS, should be nmap-ncat
Those package issues can be handled by downloading the install script without running it. Edit the script to remove the epel-release requirement and rename netcat to nmap-ncat. Run the script manually.
With those steps taken care of you should end up with an RPi3, running CentOS 7 and the pi-hole working.
Reference Issue #586