Created
June 3, 2018 20:03
-
-
Save joao-timescale/a8b81b91d40de77c2c5b0cd95a4068f8 to your computer and use it in GitHub Desktop.
Pi-Hole Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```shell | |
[✓] Root user check | |
.;;,. | |
.ccccc:,. | |
:cccclll:. ..,, | |
:ccccclll. ;ooodc | |
'ccll:;ll .oooodc | |
.;cll.;;looo:. | |
.. ','. | |
.',,,,,,'. | |
.',,,,,,,,,,. | |
.',,,,,,,,,,,,.... | |
....''',,,,,,,'....... | |
......... .... ......... | |
.......... .......... | |
.......... .......... | |
......... .... ......... | |
........,,,,,,,'...... | |
....',,,,,,,,,,,,. | |
.',,,,,,,,,'. | |
.',,,,,,'. | |
..'''. | |
[i] Reconfigure option selected | |
[✓] Disk space check | |
[✓] Update local cache of available packages | |
[✓] Checking apt-get for upgraded packages... up to date! | |
[i] Installer Dependency checks... | |
[✓] Checking for apt-utils | |
[✓] Checking for dialog | |
[✓] Checking for debconf | |
[✓] Checking for dhcpcd5 | |
[✓] Checking for git | |
[✓] Checking for iproute2 | |
[✓] Checking for whiptail | |
[✓] Stopping dnsmasq service... | |
[✓] Stopping lighttpd service... | |
[i] Using interface: eth0 | |
[i] Using [i] Static IP already configured | |
[i] Unable to find IPv6 ULA/GUA address, IPv6 adblocking will not be enabled | |
[i] IPv4 address: 192.168.0.2/24 | |
[i] IPv6 address: | |
[i] Web Interface On | |
[i] Logging On. | |
[✓] Check for existing repository in /etc/.pihole | |
[✓] Update repo in /etc/.pihole | |
[✓] Check for existing repository in /var/www/html/admin | |
[✓] Update repo in /var/www/html/admin | |
[i] Main Dependency checks... | |
[✓] Checking for bc | |
[✓] Checking for cron | |
[✓] Checking for curl | |
[✓] Checking for dnsmasq | |
[✓] Checking for dnsutils | |
[✓] Checking for iputils-ping | |
[✓] Checking for lsof | |
[✓] Checking for netcat | |
[✓] Checking for sudo | |
[✓] Checking for unzip | |
[✓] Checking for wget | |
[✓] Checking for idn2 | |
[✓] Checking for sqlite3 | |
[✓] Checking for lighttpd | |
[✓] Checking for php-common | |
[✓] Checking for php-cgi | |
[✓] Checking for php-sqlite3 | |
[✓] Enabling lighttpd service to start on reboot | |
[✓] Installing scripts from /etc/.pihole | |
[i] Installing configs from /etc/.pihole... | |
[i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone! | |
[✓] Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf | |
[i] Creating log and changing owner to dnsmasq... log already exists! | |
[i] Installing blocking page... | |
[✓] Creating directory for blocking page, and copying files | |
[✗] Backing up index.lighttpd.html | |
No default index.lighttpd.html file found... not backing up | |
[✓] Installing sudoer file | |
[✓] Installing latest Cron script | |
[✓] Installing latest logrotate script | |
[i] FTL Checks... | |
[✓] Detected ARM-hf architecture (armv7+) | |
[i] Checking for existing FTL binary... | |
[i] Downloading and Installing FTL.../tmp/tmp.Lbs99gGmqI /etc/.pihole | |
transferred... /etc/.pihole | |
[✓] Downloading and Installing FTL | |
[i] Skipping firewall configuration | |
[i] Restarting services... | |
[✓] Starting dnsmasq service | |
[✓] Enabling dnsmasq service to start on reboot | |
[✓] Starting lighttpd service | |
[✓] Enabling lighttpd service to start on reboot | |
[✓] Starting pihole-FTL service | |
[✓] Enabling pihole-FTL service to start on reboot | |
[i] Preparing to run gravity.sh to refresh hosts... | |
[i] Cleaning up previous install (preserving whitelist/blacklist) | |
[i] Running gravity.sh | |
[i] Neutrino emissions detected... | |
[✓] Pulling blocklist source list into range | |
[i] Target: raw.githubusercontent.com (hosts) | |
[✓] Status: Retrieval successful | |
[i] Target: mirror1.malwaredomains.com (justdomains) | |
[✓] Status: Retrieval successful | |
[i] Target: sysctl.org (hosts) | |
[✓] Status: Retrieval successful | |
[i] Target: zeustracker.abuse.ch (blocklist.php?download=domainblocklist) | |
[✓] Status: Retrieval successful | |
[i] Target: s3.amazonaws.com (simple_tracking.txt) | |
[✓] Status: Retrieval successful | |
[i] Target: s3.amazonaws.com (simple_ad.txt) | |
[✓] Status: Retrieval successful | |
[i] Target: hosts-file.net (ad_servers.txt) | |
[✓] Status: Retrieval successful | |
[✓] Consolidating blocklists | |
[✓] Extracting domains from blocklists | |
[i] Number of domains being pulled in by gravity: 147002 | |
[✓] Removing duplicate domains | |
[i] Number of unique domains trapped in the Event Horizon: 124030 | |
[i] Nothing to whitelist! | |
[✓] Parsing domains into hosts format | |
[✓] Cleaning up stray matter | |
[✓] Force-reloading DNS service | |
[✓] DNS service is running | |
[✓] Pi-hole blocking is Enabled | |
View the web interface at http://pi.hole/admin or http://192.168.0.2/admin | |
You may now configure your devices to use the Pi-hole as their DNS server | |
[i] Pi-hole DNS (IPv4): 192.168.0.2 | |
If you set a new IP address, please restart the server running the Pi-hole | |
[i] The install log is located at: /etc/pihole/install.log | |
Installation Complete! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment