# Copy netsync to target folder
sudo mkdir -p /opt/netsync/v2.0.0_linux
cd /opt/netsync/v2.0.0_linux
sudo tar -zxvpf ~/Download/netsync-2.0.0.linux64.tar.gz 

# make init.d script for netsync
sudo cp -arpf netsync.sh /etc/init.d/
sudo chmod +x /etc/init.d/netsync.sh
sudo ln -sf /etc/init.d/netsync.sh  /etc/rc5.d/S99netsync.sh

# start netsync
sudo /etc/init.d/netsync.sh start

# check start status
ps ax | grep netsync

# open the url from local machine and login
http://127.0.0.1:5566

# stop netsync
sudo /etc/init.d/netsync.sh stop

# check start status
ps ax | grep netsync

