蛮好用的一款文件同步工具,效率不敢说是最好的,但是真的贼方便。唯一可惜的就是该软件大部分进阶功能需要收费。本文末尾会附上一个历史悠久的激活码,已经用了好几年跨越了好几个版本了。不知道何时会失效,切用且珍惜。

一.安装

1.创建 /etc/yum.repos.d/resilio-sync.repo 配置文件注册 Resilio 库

printf "[resilio-sync]\nname=Resilio Sync\nbaseurl=https://linux-packages.resilio.com/resilio-sync/rpm/\$basearch\nenabled=1\ngpgcheck=1\n" | sudo tee /etc/yum.repos.d/resilio-sync.repo

2.添加公钥

sudo rpm --import https://linux-packages.resilio.com/resilio-sync/key.asc

3.安装 Resilio Sync并更新

sudo yum install resilio-sync
sudo yum check-update
sudo yum update resilio-sync

4.访问 Resilio Sync

如果需要公网访问 Resilio Sync(vps ip:8888 形式访问),需要修改一下 Resilio Sync 配置,并在防火墙、iptables 放行 8888 端口。

打开 配置文件:vi /etc/resilio-sync/config.json

127.0.0.1:8888 改成 0.0.0.0:8888 保存退出

{
    "storage_path" : "/var/lib/resilio-sync/",
    "pid_file" : "/var/run/resilio-sync/sync.pid",

    "webui" :
    { 
        "force_https": true,
        "listen" : "0.0.0.0:8888"
    }   
}

5.配置反向代理

Resilio Sync同样可以通过Nginx等服务配置反向代理增强安全性,具体不再细说。需要注意请先使用ip访问的形式创建管理员用户密码后再配置反向代理,不然会出现问题。

二.Pro版密钥

没什么好说的,复制下面的密钥然后粘贴到一个文本文件里上传到服务器即可。在Resilio Sync的面板设置中选择对应密钥文件即可激活。注意文件读取权限问题。


btos1_eyJzIjogIm5xNjRmNGgrWDhxWHFiaWRodEtyTWdNcEVaMHdYaUJLbExwSWFwSDUxMzkyaHdqMFFpQWJOTTFGd2JGWGpJQ0FhV2w4V3ZidVpPenpITXZmNTRLWU1XVGVsVFZjS3JGQUpYMmVUMGttT2lCMm8zQ1BjVFd2VWlCLzRsTTlQN1FsalVSVzREMVFNUktWcEhwaG5IVzIvZmdqN05MaThmMnhNa1NDNERwRVVpQ0pXZHpPWXFIbW1O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