Home Linux How to install BTSync Resilo onto a Linux server
How to install BTSync Resilo onto a Linux server

How to install BTSync Resilo onto a Linux server


SSH into your server as root user.

Create a directory in the root home folder for Btsync\Resilo and move into the directory:

cd ~
mkdir btsync
cd btsync

Download the correct OS version for your system.

wget https://download-cdn.getsync.com/stable/linux-i386/BitTorrent-Sync_i386.tar.gz          -32bit
wget https://download-cdn.getsync.com/stable/linux-x64/BitTorrent-Sync_x64.tar.gz            -64bit

Download area: https://www.getsync.com/platforms/desktop/

Extract the .tar.gz file:

tar -xvzf BitTorrent-Sync_i386.tar.gz

Remove the downloaded (unneeded) Bittorrent.tar.gz file.

rm BitTorrent-Sync_i386.tar.gz

Now we need to create a config file to secure the gui and express the server IP for remote access.

nano ~/btsync/btsync.config

Copy the following into the empty text file:

    {    "listen" : "SERVERIP:8888",
          "login" : "USERNAME",
          "password" : "PASSWORD"

Save the text file by pressing “Ctrl X” then “y” to confirm and pressing “enter” to write the file out.

Now we need to start the program and bind the config file to the program:

 ./btsync --config ~/btsync/btsync.config

You will now see that the Webui address is now set correctly with either the IP or FQDN you set in the config file with the port number 8888.
Also Btsync\Resilo will be forked to a background pid.

You can now enter the address and port into a browser.


Connection Problems?

Depending on your server configuration if you have a firewall installed you will need to open some ports to get the peers to connect and to get access to the gui.. Open port 3000 on TCP and UDP to allow the peer discovery and relay transfer. Open TCP IN Port: 8888 to allow remote access to the Btsync\Resilo GUI (Graphical User Interface). Please note: A Firewall or server restart may be required.  It may also take a few minutes for the relay’s to kick in.

Ports used by Btsync\Resilo:

Gui Interface: 8888

Discovery trackers and relay IPs: Port 80

Connection to the tracker and relay server (automatic peer discovery & relay to transfer data): TCP and UDP ports 3000.

Application Listening port (Dynamic and set by the application) –  options > preferences > Advanced > Connection – Listening Port


Additional Security Concerns:

Never use a personal BTsync account with remotely accessible servers. Use a new fresh owner ID/profile for each server and share the folder’s key only.

If  you use an exiting personal BTsync account/ID if a hacker gains access to your GUI interface.  They can copy your keys and download all your content (ouch).

Use a read only key that will allow folders one way read only. This will stop mistakenly deleting remote files locally.

Move the GUI interface to another port or turn off the GUI via SSH when not in use. Alternatively kill the PID if you only use BTsync occasionally so the program is not always on.

Use https when possible to connect to the GUI.

Useful ways to use BT Sync:

BTSync is a great way to share backup folders with another device. Great for syncing WHM/cPanel backups. But make sure you think of security first.

BTSync is great for syncing photos and videos from mobile devices instantly.


Addicted2Tech We love technology and enjoy sharing helpful content for others to enjoy. we believe in community and open source. We are huge Linux advocates. We stand for privacy and security and above all else transparency and fairness. If you like what we do please follow us on social media.