安装
apt install syncthing
进行配置
1.###执行
syncthing
2.结果如下,出现 INFO: Detected 0 NAT services 代表启动成功!
![](https://img.haomeiwen.com/i7254437/0cd1be57831a0dd1.png)
3.vi /home/syncthing/.config/syncthing/config.xml
找到以下位置,将 127.0.0.1:8384 改位 0.0.0.0:8384
![](https://img.haomeiwen.com/i7254437/a7526adb929e1d93.png)
做成服务(简单粗暴)
cp /usr/lib/systemd/user/syncthing.service /etc/systemd/system/
![](https://img.haomeiwen.com/i7254437/9d60d7a00b0ffc4a.png)
vi /etc/systemd/system/syncthing.service
详细配置见链接:
https://docs.syncthing.net/users/autostart.html
网友评论