Skip to content

Instantly share code, notes, and snippets.

@copuzzle
Last active August 15, 2017 06:18
Show Gist options
  • Save copuzzle/4cb39e6d8930b9277a73dd1bd595477c to your computer and use it in GitHub Desktop.
Save copuzzle/4cb39e6d8930b9277a73dd1bd595477c to your computer and use it in GitHub Desktop.
ubuntu16.04 安装 btsync

官网地址: https://www.resilio.com/

正常安装

Linux 安装 Package 可以参考 https://help.getsync.com/hc/en-us/articles/206178924 这里

添加源

echo "deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" | sudo tee /etc/apt/sources.list.d/resilio-sync.list

添加源公钥

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

安装:

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

配置文件存储地址 https://help.getsync.com/hc/en-us/articles/206664690

Linux 下配置文件地址: /var/lib/resilio-sync

被墙怎么办

http 代理

vim /etc/apt/apt.conf 添加配置 Acquire::http::Proxy "http://127.0.0.1:1080"

但我只有 socket 代理

安装 tsocks sudo apt-get install tsocks 配置 tsocks vim /etc/tsocks.conf

# 代理 Host
server = 127.0.0.1 
# Server type defaults to 4 so we need to specify it as 5 for this one
server_type = 5
# The port defaults to 1080 but I've stated it here for clarity 
server_port = 1080

使用代理更新或者安装: ` sudo tsocks apt-get update

sudo tsocks apt-get install resilio-sync `

使用

浏览器打开 web 配置界面 http://127.0.0.1:8888/ 接着应该不用讲了

参考: https://help.resilio.com/hc/en-us/articles/206178924-Installing-Sync-package-on-Linux http://einverne.github.io/post/2016/04/btsync-review.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment