- SSH into your server, login or open Terminal if you have a GUI
- Type copy and paste
curl -sSL https://install.pi-hole.net | bash
- Press enter and walk through the setup accepting all defaults
- Make a note of your password (auto-generated) or use pihole -a -p to reset your password.
This site has several lists for different types of content to block. There are additional ad blocking lists, malware, tracking, and malicious site block lists as well as some recommended whitelist additions.
https://firebog.net/
List of pihole commands
Whitelisting, Blacklisting and Regex | pihole -w , pihole -b , pihole -regex , pihole -wild |
Debugger | pihole debug |
Log Flush | pihole flush |
Reconfigure | pihole reconfigure |
Tail | pihole tail |
Admin | pihole -a |
Chronometer | pihole chronometer |
Gravity | pihole updateGravity |
Logging | pihole logging |
Query | pihole query |
Update | pihole updatePihole |
Version | pihole version |
Uninstall | pihole uninstall |
Status | pihole status |
Enable & Disable | pihole enable |
Restart DNS | pihole restartdns |
Checkout |
|
Update Gravity lists | pihole -g |
https://github.com/pi-hole/pi-hole/#one-step-automated-install
https://docs.pi-hole.net/core/pihole-command/
https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738