RSS Amplifier

Matt Gibson · Aug 20, 2017

Adding Speed Test and a Dark Theme to Pi-Hole Ad Blocker

0
Sign in to vote or save

Matt G · Matt Gibson

Just keeping these notes here for anyone else that might find them useful.

First, install Pi-Hole as per regular.

Then, You’ll want to get the Dark Theme going with pi-hole.

  1. Open a terminal (or SSH if you’re remoting in) (Ctrl+Alt+T)
  2. Type:cd /var/www/html/
  3. Type:sudo wget https://raw.githubusercontent.com/lkd70/PiHole-Dark/master/install.sh
  4. Type:sudo chmod +x install.sh
  5. Type:sudo ./install.sh
  6. Follow the onscreen instructions!

Then, verify it is working (you might have to clear cache) and that you see the dark theme.

Now you can install the Speed Test Module for Pi-Hole.

sudo apt install python-pip
sudo pip install speedtest-cli
sudo apt install sqlite3

Configure correct timezone for graph - Need for graph to work correctly

sudo dpkg-reconfigure tzdata

#select your timezone

Find php version

php –v

if it is 5.x

sudo apt install php5–sqlite

if it is 7.x

sudo apt install php7.0–sqlite

Restart Pi

sudo reboot

You can try run it using

speedtest–cli –h

If Everything is ok, proceed to next step

Get the new set of admin Code from github ( New method or try old one here)

cd /var/www/html/
sudo su

Update this now co-exist with current pihole admin

cd admin
git remote add mod https://github.com/arevindh/AdminLTE
git pull mod master

Create new DB in /etc/pihole/

cp scripts/pi–hole/speedtest/speedtest.db /etc/pihole/
cd /opt/pihole/
mv webpage.sh webpage.sh.org
wget https://github.com/arevindh/pi–hole/raw/master/advanced/Scripts/webpage.sh

Then do this to test your installation, and then reload the Pi-Hole interface.

You should be good to go! Let me know in the comments if you’re not.

Read the original on mattgibson.ca

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.