1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-22 16:18:13 +00:00

Created CentOS and RPi3 (markdown)

Steve Berg 2016-07-25 07:04:48 -05:00
parent f27850db5b
commit e2dc800020

28
CentOS-and-RPi3.md Normal file

@ -0,0 +1,28 @@
## 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](http://mirror.centos.org/altarch/7/isos/armhfp/CentOS-Userland-7-armv7hl-Minimal-1603-RaspberryPi3.img.xz)
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](https://wiki.centos.org/HowTos/SetupRpmBuildEnvironment)
Download source rpms:
[lighttpd-srpm](https://dl.fedoraproject.org/pub/epel/7/SRPMS/l/lighttpd-1.4.39-3.el7.src.rpm)
[spawn-fcgi-srpm](https://dl.fedoraproject.org/pub/epel/7/SRPMS/s/spawn-fcgi-1.6.3-5.el7.src.rpm)
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](https://github.com/pi-hole/pi-hole/issues/586)