Last active
September 29, 2020 00:33
-
-
Save pleasemarkdarkly/865ceba0e95680bee00f213efec9e136 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# https://gist.github.com/865ceba0e95680bee00f213efec9e136 | |
# https://gist.githubusercontent.com/pleasemarkdarkly/865ceba0e95680bee00f213efec9e136/raw/c9cfe3deb0e3ebf3b649b71f543742282cee1b6a/install_darkstat.sh | |
install_darkstat() { | |
sudo apt-get install darkstat | |
echo "/etc/darkstat/init.cfg" | |
wget https://gist.githubusercontent.com/pleasemarkdarkly/1e5101f1541e4ec3ad3c3dc1d6cd8f54/raw/f846091cef8ac0158746813e3bbe7c048f9b20cb/init.cfg | |
mv -v ./init.cfg /etc/darkstat/init.cfg | |
sudo /etc/init.d/darkstat start | |
sudo chkconfig darkstat on | |
sudo /etc/init.d/darkstat status | |
echo "darkstat -i (look up iconfig) -p 666" | |
echo "checkout localhost - or ip :666" | |
} | |
install_darkstat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment