Skip to content

Instantly share code, notes, and snippets.

@heddn
Created September 24, 2014 19:45
Show Gist options
  • Select an option

  • Save heddn/4b2fdd7b9540a3cf99ee to your computer and use it in GitHub Desktop.

Select an option

Save heddn/4b2fdd7b9540a3cf99ee to your computer and use it in GitHub Desktop.
Open terminal and run the following commands from the directory you extracted btsync:
sudo tar -C /usr/local/bin -zxvf [name of downloaded btsync archive]
btsync --dump-sample-config > ~/btsync.conf
mkdir ~/btsync-store
mkdir '~/btsync-store/Drupal Community Tools Linux'
nano ~/btsync.conf
In the conf file, set and remove comments in front (//) for:
<ul>
<li>"storage_path" : "btsync-store/",</li>
<li>,"login" : "%replace_me%"</li>
<li>,"password" : "%replace_me%"</li>
</ul>
Set login and password to non-default values as the web user will have the ability to create folders and add new sync codes, which may be undesirable. Then save your changes.
Start bit torrent sync using the following command:
sudo btsync --config ~/btsync.conf
At this point, you should be able to point your web browser to port 8888 on your server and you will see the BTSync GUI (http://youripaddress:8888).
Click this link to sync the Linux btsync share
Once BitTorrent Sync has finished downloading the folder navigate to it and open 1. Setup Instructions.pdf which has instructions for completing the installation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment