Raspberry Pi Pi-hole Setup
Upgrade linux.
sudo apt-get update && sudo apt-get -y dist-upgrade
Download and run the pi-hole script
curl -sSL https://install.pi-hole.net | bash
and add the group www-data to user pihole.
sudo usermod -aG pihole www-data
To prevent the '403 - Forbidden' message when setting up your own website use
sudo lighttpd-enable-mod fastcgi fastcgi-php sudo service lighttpd force-reload
Edit the crontab file
sudo crontab -e
and add the following lines to the end of the file to check for updates every day.
55 5 * * SAT /usr/local/bin/pihole -up