Instantly share code, notes, and snippets.

Embed
What would you like to do?
Set up CrashPlan on Raspberry Pi (Raspbian Jessie)
#!/bin/bash
set -e
CP_VERSION="4.7.0"
sudo apt-get install oracle-java8-jdk
wget http://download.code42.com/installs/linux/install/CrashPlan/CrashPlan_${CP_VERSION}_Linux.tgz
tar xzf CrashPlan_${CP_VERSION}_Linux.tgz
cd crashplan-install && sudo ./install.sh
cd /usr/local/crashplan
for each in libjtux libmd5; do
sudo mv $each.so{,.bak} && sudo wget http://www.jonrogers.co.uk/wp-content/uploads/2012/05/$each.so
done
sudo sed -i.bak 's|JAVACOMMON=.*$|JAVACOMMON=/usr/bin/java|' /usr/local/crashplan/install.vars
# Example service file: https://gist.github.com/n8henrie/996bd2b9b309fe6011a3
sudo systemctl restart crashplan
sudo /usr/local/crashplan/bin/CrashPlanEngine status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment