CentOS installation BitTorrent sync detailed steps

Source: Internet
Author: User
Tags btsync

Official website: https://www.getsync.com

After installation of this software through the Web browser to set up a shared directory and generate synchronization secret, remote clients can access the common directory through this synchronization secret, which has read-write and read-only two synchronization options, in the form of point-to-point transmission of data, in fact, can be understood as a new way to share.

Here we can use this software to synchronize backup to download all files of the specified directory on the box, the following content is the box-side configuration process.

Installation and configuration under the Linux system (log in with the root user)

1. First to download the application decompression, according to the system's word length selection

32-bit system

wget Http://btsync.s3-website-us-east-1.amazonaws.com/btsync_i386.tar.gztar zxvf btsync_i386.tar.gz-c/root

64-bit system

wget Http://btsync.s3-website-us-east-1.amazonaws.com/btsync_x64.tar.gztar zxvf btsync_x64.tar.gz-c/root

2. Run the program output configuration template file

./btsync--dump-sample-config > btsync.conf

3. Edit the btsync.conf of the previous step output

VI btsync.conf

Change the <> section below to your own server information. For example, "< device name >" is changed to "My BT Server".
Do not set the port to 80, 8112, 9091, 443, etc. to avoid conflicts with other software applications.

{"Device_name": "< device name >", "Listening_port": 0,//0-randomize Port/* Storage_path dir   Contains auxilliary app files if no storage_path field:. sync dir created in the directory where binary is located.  Otherwise user-defined directory would be used */"Storage_path": "/home/root/.sync",//uncomment next line if you want To set location of PID file//"Pid_file": "/var/run/syncapp/syncapp.pid", "check_for_updates": True, "USE_UPNP": TR                         UE,//Use UPnP for Port mapping/* limits in kb/s 0-no limit*/"Download_limit": 0, "Upload_limit": 0,/* remove "Listen" field to disable WebUI remove "login" and "Password" fields    To disable credentials check*/"WebUI": {"Listen": "< server IP address >:< port >", "Login": "< login user name >", "Password": "< login password >"}/*!!!   If you set the shared Folders in config file WebUI would be DISABLED!!! Shared directories specified in configFile override the folders previously added from webui.*//*, "shared_folders": [{//Use--generate-secret in Co Mmand line to create new secret "secret": "My_secret_1",//* Required Field "dir": "/home/u Ser/bittorrent/sync_test ",//* required field//use Relay server when direct connection fails" use_relay_server ": True, "Use_tracker": True, "USE_DHT": false, "Search_lan": true,//enable sync Trash to store files de           leted on remote Devices "Use_sync_trash": true,//specify hosts to attempt connection without additional search  "Known_hosts": ["192.168.1.2:44444", "myhost.com:6881"]}]*///Advanced Preferences Can be added to config file.//Info are available in BitTorrent Sync User Guide.}

4. Run BT sync and the system will add a btsync process

./btsync--config btsync.conf

If you want to turn off BT Sync you can use the Killall command to turn off

Killall Btsync

5. Add bt sync to boot

Vi/etc/rc.local

Exit 0 Previous line join

Cd/root./btsync--config btsync.conf

The sync directory can be set up after logging in via the local browser < server IP address >:< port >/gui.
Currently the client only has an English version of the interface, but the settings are relatively simple to use. Do graphic tutorial very tired, so do not intend to make how to use the graphics and text tutorial, and the interface is really simple, if there are problems can be in this post reply to ask questions.


Client: Click to download


Access to the official website and other clients including the ARM platform can be downloaded.


Precautions for use:
1. If you choose Read-only synchronization (server-local), if you do not want to sync after the file transfer, remember to delete the synchronized directory on the local client, otherwise the server-side deleted the file, the local will automatically delete the file. Of course, read-write synchronization is more so.

From zero technology: http://www.ldisp.com/a/linux/2013/CentOS-BitTorrent-Sync.shtml

CentOS installation BitTorrent sync detailed steps

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.