Install PI Hole:
Get pi hole by:
curl -sSL https://install.pi-hole.net | bash
and just follow the installer.
- Can set to physical Ethernet interface if have VPN installed.
- Can set DNS server to my bind DNS installed or quad9 if bind is not installed.
- Install ad blocker list
- Save any screenshots of IP address and passwords!
- Also when installing web site don't install its wanted web server, stick to apache and get its dependency's after by:
- sudo apt install php-intl php-sqlite3 php-xml
Can restart Restart Pi hole by:
sudo a2ensite pihole
sudo systemctl reload apache2
Fix "Read-Only database" apache2 bug by:
sudo usermod -a -G pihole www-data
sudo chown -R www-data:pihole /etc/pihole
*Then follow the restart pi hole section.
------------------------------------------------
Sources list:
https://discourse.pi-hole.net/t/unknown-0-status/43539
https://docs.pi-hole.net/main/basic-install/
https://discourse.pi-hole.net/t/log-permissions/1911
https://discourse.pi-hole.net/t/installing-pi-hole-on-existing-apache-server/43968
https://discourse.pi-hole.net/t/solved-while-executing-attempt-to-write-a-readonly-database-error/33003
https://github.com/pi-hole/docker-pi-hole/issues/860
Date: February 2023
Back