How to Install BitTorrent Sync on a Linux Server

Previously, we've introduced that you BitTorrent Sync that allows you to sync your files from computer to computer using Bittorrent tec...



btsync-logoPreviously, we've introduced that you BitTorrent Sync that allows you to sync your files from computer to computer using Bittorrent technology. If you have your personal web server, you should use btsync being a backup tool to back up files out of your computer for the web server. Here is how you'll be able to setup BitTorrent Sync in your server.

Note: This tutorial assumes that there is a Linux server plus you've got administrative rights for the server. If you are using a Windows server, this tutorial is just not applicable.

1. Login for your remote server via SSH. At the Home directory (or any folder that is not accessible through the public), produce a “btsync” folder.

mkdir btsync cd btsync

Next, fetch the BitTorrent Sync installer from the web.

wget http://btsync.s3-website-us-east-1.amazonaws.com/btsync_x64.tar.gz

I am while using the 64-bit version of the installer. You can find the version most appropriate for your server.

Extract the tar file:

tar -xvzf btsync_x64.tar.gz

If you run a “ls” command, you ought to see the “btsync” along with the “LICENSE.TXT” file.

btsync-extracted-files

Execute the btsync file.

./btsync

This will run BitTorrent Sync in private.

btsync-running-background

Now, go for your browser and type within the address: “http://your-ip-address:8888

On an Apache server with multiple domains, you need to add the next entry to the domain-specific vhost file:

<Location /gui/> ProxyPass http://127.0.0.1:8888/gui/ ProxyPassReverse http://127.0.0.1:8888/gui/ Redirect permanent /btsync /gui/ </Location>

Restart the Apache server and will also be able to access through URL: “http://your-domain-name/gui/

btsync-web-gui


Protecting the BTSync GUI


By default, the BTSync GUI is freely available and you can now access it. What you want to accomplish is to incorporate a password protection so only it is possible to access it.

In remote server, produce a “btsync.config” file. Make sure you place it in a location that is just not accessible from the public.

nano btsync.config

Paste the subsequent lines towards the blank file:

 "webui":  "listen" : "0.0.0.0:8888", "login" : "YOUR_LOGIN_USERNAME", "password" : "YOUR_LOGIN_PASSWORD"  

Replace “YOUR_LOGIN_USERNAME” and “YOUR_LOGIN_PASSWORD” using your username and password.

Save (ctrl + o) and exit the file (ctrl +x).

Next, add the config file to btsync:

./btsync --config /path/to/btsync.config

Note: you have to stop/kill the currently running process before it is possible to add the config file. Once added, btsync will autostart alone.

Now, refresh your browser and will also prompt you for your login credential.


Usage


With the world wide web GUI, you will be able to incorporate folder and also the secret to start syncing the files from your computer towards the server. Remember that you will need to install the BitTorrent Sync client on the computer too before you'll be able to sync the files.

Enjoy!

COMMENTS

http://videohive.net/?ref=gimmegfx

http://themeforest.net/?ref=gimmegfx

http://audiojungle.net/?ref=gimmegfx

Name

blogging,255,computing,705,ebook,53,ebooks,354,freebies,358,graphics,225,IFTTT,3,internet,207,mobile,252,news,99,sharedtutor,78,slider,2,video tutorials,5,VideoHive,1156,YouTube,1005,
ltr
item
SharedTutor Tutorials For Everyone: How to Install BitTorrent Sync on a Linux Server
How to Install BitTorrent Sync on a Linux Server
http://i1.wp.com/imagecdn5.maketecheasier.com/2013/08/btsync-logo.jpg
SharedTutor Tutorials For Everyone
http://www.sharedtutor.com/2013/08/how-to-install-bittorrent-sync-on-linux.html
http://www.sharedtutor.com/
http://www.sharedtutor.com/
http://www.sharedtutor.com/2013/08/how-to-install-bittorrent-sync-on-linux.html
true
1970043136941886328
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy