7

SparkleShare:私有的文件云同步工具

 3 years ago
source link: https://chenjiehua.me/linux/sparkleshare-self-hosted-file-sync.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

SparkleShare:私有的文件云同步工具 

随着各类网盘的不断关停以及收费限速,国内良心的文件云同步工具已经所剩无几,而国外的诸多网盘由于GFW的原因,要么同步速度感人要么直接就连不上……因此,自己搭建一个简易的私有文件云同步盘就显得意义非凡!

SparkleShare

SparkleShare 是一个文件共享和协作工具,就像DropBox一样而且可以部署在自己的服务器上,它同时支持Linux、maxOS、Windows。它具有以下的特点:

  • 客户端加密
  • 免费且开源

SparkleShare 使用 Git 仓库同步来实现文件的共享与协作,它支持Bitbucket、Github、Gitlab、Planio以及私有部署。

通过官方提供的脚本,我们可以非常快速的在 Linux 服务器上进行部署:

# 注意需要使用 root 权限
# 首先下载脚本
curl https://raw.githubusercontent.com/hbons/Dazzle/master/dazzle.sh \
  --output /usr/bin/dazzle && chmod +x /usr/bin/dazzle
dazzle setup
# 添加账号
dazzle link
# 创建项目
dazzle create PROJECT_NAME
# 创建加密项目
dazzle create-encrypted PROJECT_NAME

dazzle link 的时候,我们需要填写一个 ssh 秘钥,在SparkleShare的客户端中可以获取。

SparkleShare的客户端我们可以直接在官网下载即可。

安装完成后,我们首先需要将 Computer ID(也就是ssh秘钥)使用前面的 dazzle link 在服务器上进行登记:

sparkleshare-1024x285.png

然后就可以填写自己的服务器信息:

sparkleshare2-1024x674.png
  • Address填写 ssh://storage@YOUR_HOST_IP
  • Remote Path填写 /home/storage/PROJECT_NAME 

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK