Debian 8 installs BtSync and debian installs btsync

Source: Internet
Author: User
Tags resilio sync btsync

Debian 8 installs BtSync and debian installs btsync

This method is provided by resilio on the official website of Btsync.

Transport: https://help.getsync.com/hc/en-us/articles/206178924

First, add the following file:

 

123 vi /etc/apt/sources.list.d/resilio-sync.listAdd the following source to the file:deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free

Add a public key:

1 wget -qO - https://linux-packages.resilio.com/resilio-sync/key.asc | sudo apt-key add -

Installation:

12 sudo apt-get updatesudo apt-get install resilio-sync

Manage resilio-sync

sudo systemctl enable resilio-sync

Edit the file/usr/lib/systemd/user/resilio-sync.service and change "wantedby?multiouser.tar get" to "WantedBy=default.tar get"

Enable Software

systemctl --user enable resilio-sync

Start using software

For example:

systemctl --user start resilio-sync

 

The English format is as follows:

Upgrade. If you have btsync package installed and running, stop it before installing resilio-sync.
All settings from btsync will be moved to resilio-sync.

Before updating from btsync to resilio-sync check the size of/var/lib/btsync folder and ensure that your computer has enough 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 do not have 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 Sync from Resilio repository, you need to complete 3 steps:

  1. Add repository

  2. Add PGP public key for package verification

  3. 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.listWith 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-loo 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 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 are available.
Create file/Etc/yum. repos. d/resilio-sync.repoWith 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 sync1_emd

Enable sync service automatic startup as userRslsync:

sudo systemctl enable resilio-sync

Enable sync service as current user:

Edit file/usr/lib/systemd/user/resilio-sync.service and change "wantedby?multiouser.tar get" to "WantedBy=default.tar get". Save. Then enable the service:

systemctl --user enable resilio-sync

Systemctl can be also run with the following arguments:start, stop, enable, disable, status

For example:

systemctl --user start resilio-sync
Sysvinit, upstart

RunRslsyncUser:

sudo service resilio-sync start

Service can also be run with the following arguments:start, stop, restart

Guide on how to use Sync on linux is here.

After successful migration and verifying that setup is preserved, you can remove btsync package:

For Debian-based Linux:

sudo apt-get purge btsync

For RPM-based Linux

sudo yum remove btsync

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.