Skip to content

Instantly share code, notes, and snippets.

@dmpop
Last active June 10, 2016 12:25
Show Gist options
  • Save dmpop/b803e474a488103a2be7 to your computer and use it in GitHub Desktop.
Save dmpop/b803e474a488103a2be7 to your computer and use it in GitHub Desktop.
Raspberry Pi installation script
#!/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