Skip to content

Instantly share code, notes, and snippets.

@n8henrie
Last active March 15, 2024 21:36
Show Gist options
  • Star 15 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save n8henrie/37d96807e31d94ca0464 to your computer and use it in GitHub Desktop.
Save n8henrie/37d96807e31d94ca0464 to your computer and use it in GitHub Desktop.
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