下面是来是官方的安装,回头抽空我送一份到github上面去备份一下.


快速安装

#(如果需要指定索引存放位置请在最后面添加-d 路径 如 -d /data/verysync)
curl http://www.verysync.com/shell/verysync-linux-installer/go-installer.sh > go-installer.sh 
chmod +x go-installer.sh
./go-installer.sh

安装完成后就可以用浏览器打开 http://你的IP地址:8886 管理微力内容了

参数说明

./go-installer.sh [-h] [-c] [--remove] [-p proxy] [-f] [--version vx.y.z] [-l file] [-d index location]
  -h, --help            显示帮助
  -p, --proxy           指定代理服务器 -p socks5://127.0.0.1:1080 or -p http://127.0.0.1:3128 etc
  -f, --force           强制安装
      --version         安装特定版本 例如 --version v0.15.11-rc2
  -l, --local           从本地下载好的文件安装 需要使用绝对路径如 -l /root/verysync-linux-amd64-v0.15.12-rc1.tar.gz
      --remove          卸载微力同步
  -c, --check           检查更新
  -d  --home            指定微力索引存放位置, 默认 ~/.config/verysync

此脚本会自动安装以下文件:

- /usr/bin/verysync/verysync: 微力主程序
- /usr/bin/verysync/start-stop-daemon: daemon管理程序 centos 会使用预编译好的i386 amd64 arm arm64版本
安装器会配置自动运行脚本。自动运行脚本会在系统重启之后,自动运行 verysync。目前自动运行脚本只支持带有 Systemd, init.d 的系统,以及 Debian / Ubuntu 全系列

运行脚本位于系统的以下位置

- /etc/systemd/system/verysync.service: Systemd
- /etc/init.d/verysync: SysV

经测试系统:

CentOS 6.5 init.d
CentOS 7.5 systemd
Debian 7.11 systemv
Debian 9.5 systemd