下載並解開 Syncrify Server
mkdir -p /volume1/opt/Syncrify cd /volume1/opt/Syncrify wget http://www2.synametrics.com/files/Syncrify/SyncrifyOther.tar.gz tar -zxvf SyncrifyOther.tar.gz
mkdir -p /volume1/opt/Syncrify cd /volume1/opt/Syncrify wget http://www2.synametrics.com/files/Syncrify/SyncrifyOther.tar.gz tar -zxvf SyncrifyOther.tar.gz
ln -s /var/packages/java7/target/jre/bin/java /usr/bin
jre/bin/java -server -Xmx512m -cp $CP -DLoggingConfigFile=logconfig.xml com.synametrics.sradef.BootLoader &
java -server -Xmx512m -cp $CP -DLoggingConfigFile=logconfig.xml com.synametrics.sradef.BootLoader &
#!/bin/bash cd /volume1/opt/Syncrify #This script all files found in the lib directory in CLASSPATH CP= for i in `ls lib/*.jar` do CP=$CP:$i done echo $CP java -server -Xmx512m -cp $CP -DLoggingConfigFile=logconfig.xml com.synametrics.sradef.BootLoader &
vi /volume1/opt/Syncrify/config/AppConfig.xml
<parameter name="jvmPath" type="1" value="/usr/bin/java"></parameter> <parameter name="ntServiceCommand" type="1" value="start syncrify"></parameter>
mkdir -p /volume1/opt/SyncrifyTemp vi /volume1/opt/Syncrify/config/server.properties
java.io.tmpdir=/volume1/opt/SyncrifyTemp
/volume1/opt/Syncrify/run.sh