BTSync Server
BitTorrent Sync is my favorite tool to sync my folders between my devices. Here is the process to install it on Ubuntu server.
Commands:
$ sudo add-apt-repository ppa:tuxpoldo/btsync
$ sudo apt-get update
$ sudo apt-get update
$ sudo apt-get install btsync
Choose 127.0.0.1 instead of 0.0.0.0.
Nginx:
$ sudo vi /etc/nginx/sites-enabled/btsync.xx.xxx
#Type this
server {
listen 80;
server_name btsync.xx.xxx;
access_log /var/log/nginx/access.log;
location / {
proxy_pass http://127.0.0.1:8888;
}
}
#End of file
If you need to reconfigure and gives you more options:
$ sudo dpkg-reconfigure btsync
Tips:
Don’t run btsync as a root
newgrp btsync
chown -R yaser:btsync folder_you_want_to_sync/
chmod -R g+rw folder_you_want_to_sync/
Ref: ubuntu-server-packages-for-bittorrent-sync, how-to-run-bittorrent-sync