We’ve shown you how to turn a Raspberry Pi into a handy little ad blocker for all your devices before, but blogger Jacob Salmela simplified the process significantly. Now all you need to do is type one thing into the command line.
You’ll need a fresh install of Raspbian for this to work. Once you get it set up, type this command into the command line:
curl -s "https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/automated%20install/basic-install.sh" | bash
The command pulls an automated bash script from GitHub that installs all the necessary software and sets everything up. From there, just point your various devices to use the Raspberry Pi as a DNS server and you’re good to go. (As ever, we’ll remind you to use ad blockers responsibly and support media you enjoy.)
Instant Raspberry Pi Ad-Blocker [Jacob Salmela]