Monthly Archives: February 2015

Install Crashplan on Raspberry Pi

Credits to for this guide. I am replicating here for my own benefit, should the site above ever go offline.

Download the latest version of Java JDK 8 for ARM and transfer it to your Raspberry Pi.

Unpack it to /opt (the filename will probably change with each update) and check it is installed ok:

Add the path to the root user’s bash profile. IT needs to go at the beginning of the path so that it is picked up before any other pre-installed version of java – i.e. the one at /usr/local/java:

Add the following line to the end of the file and save it:

Now, if you switch to a root shell, JDK8 should be the version it picks up by default, compared to 1.7 for a normal user, i.e:

 Install Crashplan

Download crashplan for linux and copy it to your Pi.

Extract and install it:

Copy some additional files to the crashplan dir:

Install another required library:

Next, edit the crashplan startup script

and find the line that begins with FULL_CP=  (its around the start case)

add /usr/share/java/jna.jar: to the begining of the string, i.e. so that it becomes:


After rebooting, crashplan should start automatically (the installer puts a startup script in /etc/rc2.d etcin order to do this) and running

should result in success.

Connect the GUI

The next step is to install the crashplan client on your workstation, set up an SSH tunnel from your workstation to the raspberry pi so that you can run the GUI on your local machine and have it connect to the backend service running on the Pi. Follow Crashplan’s Headless guide




Run Bittorrent Sync automatically on Linux startup

If you normally start btsync manually, you can easily make it start automatically on boot.

Say your normal command to start btsync was:


Create a file in a location such as /opt/btsync.startup containing the above command.

Create a link to it in /etc/init.d

This will allow you to start btsync using

Then, to make it automatically start, add it to a runlevel, e.g. for runlevel 2, which is where my Raspberry Pi seems to spend most of its time: