Statement, this method is Btsync's official website Resilio provides methods
Portal: https://help.getsync.com/hc/en-us/articles/206178924
First, add the following file:
Vi/etc/apt/sources.list.d/resilio-sync.list Add the following source Deb Http://linux-packages.resilio.com/resilio-sync/deb in the file Resilio-sync Non-free
To add a public key:
WGET-QO-HTTPS://LINUX-PACKAGES.RESILIO.COM/RESILIO-SYNC/KEY.ASC | sudo apt-key add-
Installation:
sudo apt-get updatesudo apt-get install Resilio-sync
Management Resilio-sync
sudo systemctl enable Resilio-sync
Edit the file/usr/lib/systemd/user/resilio-sync.service, change "Wantedby=multi-user.target" to "Wantedby=default.target"
Enabling software
Systemctl--user Enable Resilio-sync
Getting Started with software
Such as:
Systemctl--user Start Resilio-sync
The English original is as follows:
Upgrade. If you have the Btsync package installed and running, stop it before installing Resilio-sync.
All settings from Btsync'll be moved to Resilio-sync.
Before updating from Btsync to Resilio-sync check the size Of/var/lib/btsync folder and ensure this your computer has ENO Ugh free space to store the double of it.
If it ' s too big, you can safely delete Sync.log (and its archive) and journals.
If you don't have a Btsync package installed, ignore the note above and proceed to installing Resilio-sync package. Installing Resilio-sync package on Raspberry Pi devices follow the same installation steps (with one extra step for RPI1- See below).
To install the Sync from Resilio repository, you need to the complete 3 steps:
ADD Repository
ADD PGP Public key for package verification
Install the Package
Before installing Resilio Sync package, stop Btsync service.
For debian-based Linux (Debian, Ubuntu, Zorin, Elementary)
Create file /etc/apt/sources.list.d/resilio-sync.list with the following content to register Resilio repository :
Deb Http://linux-packages.resilio.com/resilio-sync/deb Resilio-sync Non-free
ADD public key with the following command:
WGET-QO-HTTPS://LINUX-PACKAGES.RESILIO.COM/RESILIO-SYNC/KEY.ASC | sudo apt-key add-
Also You can use the following command to add public key:
Curl-lo https://linux-packages.resilio.com/resilio-sync/key.asc && sudo apt-key Add./key.asc
For arm64 Architecture |
For Raspberry Pi 1 |
sudo dpkg --add-architecture armhf
sudo apt-get update
In/etc/apt/sources.list change of the line as follows: deb [arch=armhf] http://linux-packages.resilio.com/ resilio-sync/deb resilio-sync non-free |
sudo dpkg --add-architecture armel sudo apt-get update sudo apt-get install resilio-sync:armel |
Install Sync
sudo apt-get updatesudo apt-get install Resilio-sync
For rpm-based Linux (Red Hat, Fedora, CentOS, OpenSUSE)
Only arm and x64 arch is available.
Create file /etc/yum.repos.d/resilio-sync.repo with the following content to register Resilio repository:
[resilio-sync]
name=Resilio Sync $basearch
baseurl=http://linux-packages.resilio.com/resilio-sync/rpm/$basearch
enabled=1
gpgcheck=1
ADD Public Key:
sudo rpm--import https://linux-packages.resilio.com/resilio-sync/key.asc
Install Sync:
sudo yum install Resilio-sync
Managing Syncsystemd
Enable Sync Service automatic startup as user Rslsync:
sudo systemctl enable Resilio-sync
Enable Sync Service as Current User:
Edit File/usr/lib/systemd/user/resilio-sync.service and change "Wantedby=multi-user.target" to "wantedby= Default.target ". Save. Then enable the service:
Systemctl--user Enable Resilio-sync
Systemctl can also run with the following arguments:start, stop, enable, disable, status
For example:
Systemctl--user Start Resilio-sync
Sysvinit, Upstart
Run as rslsync User:
sudo service Resilio-sync start
Service can also is run with the following arguments:start, stop, restart
"Guide" to "use" on Linux are here.
After successful migration and verifying. Setup is preserved, you can remove the Btsync package:
For debian-based Linux:
sudo apt-get purge btsync
For rpm-based Linux
sudo yum remove btsync
This article comes from the blog, "The more you know, the smaller you feel," make sure to keep this source http://johnjohn.blog.51cto.com/4481703/1890912
Debian 8 Installation Btsync