Installing CrashPlan headless on OpenIndiana using Mac for GUI
I decided that I wasn’t quite ready for the work it was going to take to convert from OpenIndiana to FreeBSD 9.0 so I decided to quickly tackle a CrashPlan Headless install and also set up my Mac to access as the headless server when needed.
OpenIndiana: Installation and Setup
I pretty much followed the installation directions on the Crashplan’s website with a couple tiny modifications.
Download the application from here.
Move the downloaded file to /var/spool/pkg
pfexec mv CrashPlan_2010-03-08_Solaris.tar.gz /var/spool/pkg/
Unpack the archive
pfexec tar -xzvf CrashPlan_2010-03-08_Solaris.tar.gz
Install the package
pfexec /usr/sbin/pkgadd
At this point I diverged a little and made a change to a CrashPlan configuration file: (this tells the service to accept connections on any IP that my server will respond on)
/opt/sfw/crashplan/conf/my.service.xml
I changed the line
serviceHost 127.0.0.1
to
serviceHost 0.0.0.0
then fire up the service
pfexec /opt/sfw/crashplan/bin/CrashPlanEngine start
Mac: GUI Setup
You now need to setup the gui to point to your remote engine. Make sure you’ve installed CrashPlan on your Mac. After you’ve got it installed, open
/Applications/CrashPlan.app/Contents/Resources/Java/conf/ui.properties
and change the line that reads
#serviceHost=127.0.0.1
to
serviceHost={IP_OF_ENGINE}
If all goes well, you should now be able to fire up CrashPlan on your Mac, connect to your headless box, and setup your backups.
Todo
- Create a config for my local box and a config for my headless box
- Write a script that will switch configs depending on which system I want to manage