CentOS and RPi3

Michel Erb edited this page Mar 8, 2017 · 4 revisions

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.

Install image

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

Download source rpms:

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:
    1. epel-release does not exist
    2. 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

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.