声明,此方法是Btsync的官网resilio提供的方法

传送门:https://help.getsync.com/hc/en-us/articles/206178924

第一,在如下文件中添加:

1
2
3
vi /etc/apt/sources.list.d/resilio-sync.list
在文件中添加如下源
deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free

添加公共密钥:

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

安装:

1
2
sudo apt-get update
sudo apt-get install resilio-sync

管理resilio-sync

sudo systemctl enable resilio-sync

编辑文件/usr/lib/systemd/user/resilio-sync.service,改变"WantedBy=multi-user.target" 变成 "WantedBy=default.target"

启用软件

systemctl --user enable resilio-sync

开始使用软件

如:

systemctl --user start resilio-sync

英文原本如下:

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.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 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 update
sudo 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.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 Sync

systemd

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 be 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 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

Debian 8 安装BtSync的更多相关文章

  1. 在 Debian 上安装 SQL Server vNext CTP1

    微软在开源 .NET Framework 之后,相继推出了跨平台的编辑器 Visual Studio Code,跨平台的 SQL Server 数据库 SQL Server vNext,Visual ...

  2. 【转载】Debian 6安装小记

    转载自:http://unix-cd.com/vc/www/22/2011-06/18022.html 今天终于装上了 debian6,代号叫squeeze是吧?前几天的时候在Microhu’s Bl ...

  3. pycharm 4.5在debian下安装

    1.去官网下载linux下的Tar包,下载后解压. 2.直接进入解压后的folder里面找bin下面的pycharm.sh,执行后发现没有任何反应. 3.查询资料发现是因为pycharm需要sun j ...

  4. Debian 入门安装与配置2

    Debian 入门安装与配置2 1. C/C++开发必装软件 atp-get install gcc    这个不用说,用来编译C程序 apt-get install g++ 用来编译C++程序 ap ...

  5. Debian下安装Firefox与flash简介

    Debian下安装Firefox与flash简介 由于Debian在Firefox的版权上出现了问题,导致官方发布的Debian系统不能使用默认的Firefox浏览器,最后官方重编的Firefox改名 ...

  6. Debian 入门安装与配置1

    Debian 入门安装与配置1 最近安装了多个发行版本的Linux,包括Ubuntu.Fedora.Centos和Debian,发现只有Debian在界面和稳定性等综合特性上表现最优,自己也最喜欢,所 ...

  7. 在Debian中安装VMware Workstatption 12

    在Debian中安装VMware Workstatption 12-----------------------------------------------> 下载文件:    *vmwar ...

  8. Mosquitto安装_Ubuntu/Debian上安装消息队列Mosquitto

    Mosquitto安装_Ubuntu/Debian上安装消息队列Mosquitto MQTT是IBM开发的一个即时通讯协议.MQTT是面向M2M和物联网的连接协议,采用轻量级发布和订阅消息传输机制.M ...

  9. Debian虚拟机安装VirtualBox增强功能

    作者:荒原之梦 原文链接:http://zhaokaifeng.com/?p=573 本文中使用的Debian是安装在VirtualBox中的虚拟机,具体参数如下: Debian版本:Linux de ...

随机推荐

  1. Mac OSX操作系统安装和配置Zend Server 6教程(4)

    在前三节中,完成了安装和配置,最后是登录后台,并设置权限.Zend server后台登录默认端口是10081.浏览器中的的地址应输入http://localhost:10081/ZendServer. ...

  2. Java 多线程编程之九:使用 Executors 和 ThreadPoolExecutor 实现的 Java 线程池的例子

    线程池用来管理工作线程的数量,它持有一个等待被执行的线程的队列.         java.util.concurrent.Executors 提供了 java.util.concurrent.Exe ...

  3. JavaScript实例技巧精选(13)—计算在网页上的停留时间

    >>点击这里下载完整html源码<< 这是截图: 核心代码如下: <SCRIPT LANGUAGE="JAVASCRIPT"> <!-- ...

  4. .net开发框架设计

    转WisDom .net开发框架设计   WisDom .net 框架设计 1. 为啥要弄 2014 年我已经是我们参加工作的第六年,也做过不少项目,但是发现自己没有代码积累.这里利用业余时间梳理一下 ...

  5. vim实用笔记

    vim实用笔记   真是不知不觉过了一年,前段时间忙着考试什么的,没再写笔记写博客,考完又懒懒地玩了几天.这几天其实都在读别人的博客,感受一下大神的工作和生活感悟,感受一下过来人的经历和经验,对自己总 ...

  6. 解决Xcode升级7.0后,部分.a静态库在iOS9.0的模拟器上,link失败的问题

    简单描述一下这个问题:我们项目中使用了Google大神开发的LevelDB键值对数据库,在Xcode6,iOS8的环境下,编译好的.a静态库是可以正常使用的.但是升级后,发现在模拟器上无法link成功 ...

  7. django安装配置及测试

    django安装之前我们假设你已经安装了python,和mysql(不是必须的):(如果没有google一下挺简单不介绍了)下面直接介绍django的安装配置:到下面连接可以下载www.djangop ...

  8. arcengine 实现调用arctoolbox中的dissolove

    ESRI.ArcGIS.Geoprocessor.Geoprocessor geoprocessor = new Geoprocessor(); ESRI.ArcGIS.DataManagementT ...

  9. K-Means算法

    K-Means算法 K-Means算法的输入N,K和一个size为N的向量组vector.输出K个两两互不相交的向量组.其本质是将给定的向量组划分成K个类别,使得同类别的向量相似度比较大,而不同类别的 ...

  10. 在Visual Studio 2012中使用VMSDK开发领域特定语言1

    在Visual Studio 2012中使用VMSDK开发领域特定语言(一)   前言 本专题主要介绍在Visual Studio 2012中使用Visualization & Modelin ...