Go to the official website to download the version of the response I downloaded bittorrent-sync_x64.tar.gz.
After decompression, 3 files are as follows:
[[email protected] btsync]# lltotal 15664-rwxr-xr-x 1 root root 10096808 May 3 19:07 btsync-rw-r--r--1 root root 22 7 May 3 19:02 LICENSE. txt-rw-r--r--1 root root 1607 May 3 19:02 readme[[email protected] btsync]#
: Https://www.getsync.com/platforms/desktop
The following is the service-side secret key generated with the following key
Cd/usr/local/btsync./btsync--generate-secret
#创建如下配置文件或者用 ./btsync --dump-sample-config command to generate a simple profile service side: [[email protected] btsync]# cat btsync.conf { "Device_name": "0.0.0.0", "Listening_port" : 19999, // "Storage_path" : "/home/btsync_server/file", "Pid_file" : "/var/run/btsync/btsync.pid", "Check_for_updates" : true, "Use_upnp" : false, "Download_limit" : 0, "Upload_limit" : 0, "Folder_rescan_interval" : 5, "Lan_encrypt_data" : false, "Lan_use_tcp" : true, "WebUI" : { }, "Shared_folders" : [ { "secret " : " CCBBSS ", //key "dir" : "/usr/local/web/html ", " : false, "Use_relay_server" "Use_tracker" : false, "USE_DHT" : false, "Search_lan" : false, " Use_sync_trash " : true } ]}[[email protected] btsync]#
Start after completion
Cd/usr/local/btsync./btsync--config./btsync.conf--log/var/log/btsync.log
The client configuration is as follows:
{ "Device_name": "192.168.9.9", "Listening_port" : 19999, // "Storage_path" : "/home/btsync_server/file", "Pid_file" : "/var/run /btsync/btsync.pid ", " check_for_updates " : true, " Use_upnp " : false, "Download_limit" : 0, "Upload_limit" : 0, "Folder_rescan_ Interval " : 5, " Lan_encrypt_data " : false, " Lan_use_tcp " : true, "WebUI" : { }, "Shared_folders" :   [  &Nbsp; { "Secret" : "CCBBSS", //server secret key "dir" : "/usr/local/nginx/html", "Use_ Relay_server " : false, " Use_tracker " : false, "USE_DHT" : false, "Search_ Lan " : false, " Use_sync_trash " : true, "Known_hosts" : [ "192.168.9.10:19999"       ]    } ]}
Start the same as the service side and then test the effect
Btsync file Sync Tool private cloud Disk