I am in Ubuntu 12.04 (precise) 64bit and downloaded the btsync
executable from http://labs.bittorrent.com/experiments/sync/ but running it doesn't seem to have any effect. Double-clicking the executable does nothing, and running ./btsync in the terminal also exits immediately without any output.
Has anyone successfully ran this under Ubuntu, and if so, is there any special configuration changes that need to be made to make it work?
1st PPA
For normal desktop use, you only need to install
btsync-user
:Alternatively, if you're setting up your BTSync server, install
btsync
:During the installation just use the default setting and set the administrative password as well ,You can access it by
OR
Username = admin , Password = ( Use have set during installation )
2nd Download
Download the BitTorrent Sync client
The output will be
Open any web browser & copy paste the following line
OR
If you type
./btsync --help
you can also run it no deamon modeforum.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:Add the public key with the following command:
Install Sync
The page I linked to goes into how to start it and how to have it start automatically.
Official Packages
As of February 18, 2016, there are official Ubuntu/Debian packages. The instructions below are adapted from the blog's announcement post.
Add Apt Repository
It is advised to remove any other 3rd party bt-sync related repositories from
/etc/apt/sources.list.d
first.Add Signing Key
Next, you need to add our public key to get the package verified before downloading and installation:
Install
Controlling Sync
Ubuntu 14.10 and Earlier
If your OS uses sysvinit, upstart, control Sync with the following commands:
where (command) can be
start
,stop
, orrestart
Ubuntu 15.04 and Later
If your OS uses systemd, use the following commands to control Sync:
where (command) can be
start
,stop
,enable
,disable
, orstatus
Permissions and users
Note, that when you install Sync package it is going to add
btsync
user to your Linux and run underbtsync
user. Take care of permissions and groups before you start syncing.If you are using Ubuntu 15.04 or later it is possible to run Sync under your current user account, if you start it with the command:
Unfortunately, this option is not available for 14.10 or earlier.
Create a start-up script and setup Nginx SSL for remote access
Start BT Sync
Nginx configuration
/etc/nginx/sites-enabled/btsync.xx.xxx
I found a very useful walkthrough here:
https://www.digitalocean.com/community/articles/how-to-use-bittorrent-sync-to-synchronize-directories-in-ubuntu-12-04
I know I am not spelling out the instructions from the blog post here. But it ultimately was more useful to me so wanted to share.
BitTorrent Sync's unofficial PPA now has a package
btsync-gui
, which adds GTK GUI (in addition to WebUI). There's a thread about the GUI on btsync's forum.According to the original PPA maintainer
tuxpoldo
, the new way to do it for version (2.0+) is (must be run inbash
):