How to run BitTorrent Sync?

There are 2 ways to use BitTorrent Sync , 1st Install it using PPA & 2nd Download

1st PPA

sudo add-apt-repository ppa:tuxpoldo/btsync
sudo apt-get update

For normal desktop use, you only need to install btsync-user:

sudo apt-get install btsync-user

Alternatively, if you're setting up your BTSync server, install btsync:

sudo apt-get install btsync

During the installation just use the default setting and set the administrative password as well ,You can access it by

127.0.0.1:8888     # This will redirect to the 2nd link

OR

http://127.0.0.1:8888/gui/

Username = admin , Password = ( Use have set during installation )


2nd Download

Download the BitTorrent Sync client

cd Downloads
tar xzpf btsync_glibc23_x64.tar.gz # I have downloaded 64 bit. So check your version 
./btsync

The output will be

./btsync 
BitTorrent Sync forked to background. pid = 5771  # some what like this pid will be change

enter image description here

Open any web browser & copy paste the following line

127.0.0.1:8888     # This will redirect to the 2nd link

OR

http://127.0.0.1:8888/gui/

enter image description here


If you type ./btsync --help you can also run it no deamon mode

./btsync --help
 BitTorrent Sync 1.0.132
 Usage:
 btsync [--config <path>] [--nodaemon] [--generate-secret] [--dump-sample-config] [--help] [--get-ro-secret <secret>]
 Options:
--config - location and name of configuration file
--nodaemon - do not use daemon mode
--generate-secret - generate shared secret
--get-ro-secret - get read only secret for existing master secret
--dump-sample-config - dump sample config file
--help - print this message and exit

Help

forum.bittorrent.com

Video tutorial jupiterbroadcasting.com

Please also have look at Peer To Peer (P2P) Sync and Share Ubuntu


According to the user guide (pdf), there is (at least for now) no native GUI for Linux. The graphical interface for Linux is browser-based, and can be accessed at http://localhost:8888/gui/.


As of June 2017 Sync (now owned by Resilio) now provides repositories for many major Linux operating systems, including Ubuntu, Debian, Centos, Red Hat, Fedora, etc.

Install instructions are here, and copied below for Ubuntu. There's a guide on how to use Sync with Linux here.

Ubuntu Install Steps

Create a file called /etc/apt/sources.list.d/resilio-sync.list with the following content to register Resilio repository:

deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free

Add the public key with the following command:

wget -qO - https://linux-packages.resilio.com/resilio-sync/key.asc | sudo apt-key add -

Install Sync

sudo apt-get update
sudo apt-get install resilio-sync

The page I linked to goes into how to start it and how to have it start automatically.

Tags:

Bittorrent