更新 Syncthing文件同步搭建

X 2025-05-07 01:18:31 +00:00
parent 187e1bc730
commit 276401e7f1

@ -80,7 +80,7 @@ systemctl status stdiscosrv
sudo useradd -r -s /bin/false -U -m -d /usr/share/st st
sudo usermod -a -G st $(whoami)
#下载安装包并解压
#下载安装包并解压:[下载链接](https://syncthing.net/downloads/)
tar -zxvf tar -zxvf syncthing-linux-amd64-v1.29.6.tar.gz -C /opt
mv /opt/syncthing-linux-amd64-v1.29.6 /opt/syncthing
sudo chown -R st:st /opt/syncthing
@ -110,4 +110,11 @@ systemctl start syncthing
systemctl status syncthing
```
- Windows客户端以服务方式安装
1. 下载nssm工具:[下载链接](https://nssm.cc/release/nssm-2.24.zip),解压缩后将可执行文件放入`C:\Windows\system32`目录下
2. 下载syncthing windows版本:[下载链接](https://syncthing.net/downloads/),解压缩后放在自己需要安装的目录中
3.
完成后登录http://127.0.0.1:8384页面配置网页认证密码、发现服务器、中继服务器、对端设备、同步文件夹等。