Last active
June 10, 2016 12:25
-
-
Save dmpop/b803e474a488103a2be7 to your computer and use it in GitHub Desktop.
Raspberry Pi installation script
This file contains hidden or 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 | |
if [ "$(whoami)" != "root" ]; then | |
echo "Run this script as sudo" | |
exit 1 | |
fi | |
apt update | |
apt -y install apache2 php5 php5-gd php5-sqlite git-core fossil screen imagemagick python-pip rsync jq | |
pip install bottle | |
pip install blinkstick | |
blinkstick --add-udev-rule | |
echo "All done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment