OK once you have set your Pi up and the WiFi is connecting to your home or office network, and your can
ssh into it, continue with these easy steps! If you cannot connect via
ssh yet, go back and read some of our guides until you are able to log into your Pi.
I like to do this first so I dont get confused between all the different Pi's in the house
Edit the hostname with sudo nano /etc/hostname and put something else on that first line, like pi-hole
Reboot and when you ssh in again, use pi-hole.local
Now's also a good time to change the Pi's password with passwd
There's more information on how installation at https://pi-hole.net/ - as of the writing of this guide, its easier to just run
curl -sSL https://install.pi-hole.net | bash
It will take quite a while to install, and may seem to 'hang' at points. Just let it do its thing for about 20 minutes!
It will keep installing! Just hold tight...
When its done you'll get this final config screen! Copy & paste the password into another window for now
On your desktop computer or tablet, visit http://pi-hole.local/admin/ And you should see an administration panel!
On your tablet, phone, computer, etc - Set up your DNS server in the network settings to be the IP address of the Pi
You may need to restart your network or browser to have it kick in, also there may be some cached ads so don't worry if not everything is blocked. Visit your favorite site with ads (not adafruit.com cuz we don't have any! :) and see the difference!
Now that you've got that done, lets continue and install the PiOLED for a small display!