Syncrify

Running Syncrify on FreeNAS

Obsolete

This article is now obsolete. Refer to this page for a newer version.

This tutorial explains how to install and run Syncrify on FreeNAS server.

The following was done with Syncrify 1.3 build 360 and FreeNAS version 0.7.2 (Sabanda) installed on FreeBSD version 7.3

IMPORTANT: You need a "full" not "embedded" FreeNAS. Make sure to allocate at least 200 MB of disk space for Java


Step 1: Download Java from http://www.freebsdfoundation.org/java. In this example, I downloaded the JDK for FreeBSD 7.x/i386. The actual file name was diablo-jdk-freebsd7.i386.1.6.0.07.02.tbz
Step 2: Install dependent packages first using the following commands:
$ pkg_add -v -r xtrans
$ pkg_add -v -r xproto
$ pkg_add -v -r xextproto
$ pkg_add -v -r javavmwrapper
Step 3: Install Java (the .tbz file is the one you downloaded in step 1)
pkg_add -v diablo-jdk-freebsd6.i386.1.6.0.07.02.tbz
Step 4: Download Syncrify from http://synametrics.com/files/Syncrify/SyncrifyOther.tar.gz
Step 5: Use the following command to unzip the file:
tar -zxvf SyncrifyOther.tar.gz
Step 6: Modify the run.sh script if necessary. You might have to:
  • Add a line in the beginning to run a specific shell, for example to use bash:

    #!/bin/bash

  • Modify path for java. We recommend adding java in your system path rather than specifying an absolute path in the script.
Step 7: Execute run.sh to run Syncrify.

NOTE: You may have to change your shell to bash if you modified the script to do so in the above step. You can check your shell by typing the following:

echo $0

If you do not see bash return from this command then type bash to temporarily change the shell for this session.

Optionally, you can permanently change the shell for the user by typing the following:

chsh -s /bin/bash <user_name>

Step 8: Open a browser from another machine and try connecting to:

http://192.168.1.120:5800

This is assuming the IP address of your FreeNAS server is 192.168.1.120

Optional step - start at boot time

If you like Syncrify to start at boot time, create a file called 'syncrify' and place it in the /etc/rc.d directory
#!/bin/sh

. /etc/rc.subr
name="syncrify"
start_cmd="${name}_start"
stop_cmd=":"

syncrify_start(){
cd /mnt/ForBackup/Syncrify <-- Change this path to match your installation folder.
./run.sh
}
load_rc_config $name
run_rc_command "$1"


After creating this file, change its permission to executable by running the following command.
chmod +x syncrify


Navigation

Social Media

Powered by 10MinutesWeb.com