ubuntu安装syncthing

Windows安装后,总会出现同步30分钟后死机问题。尝试在ubuntu上安装syncthing后,无死机问题,原因未知。

一、安装

sudo apt install -y syncthing

二、自启动

官方链接:Starting Syncthing Automatically — Syncthing documentation

官方推荐三种:docker、supervisor、systemd。博主使用sysemd方式,将myuser替换为自己的用户名后即可启动。

systemctl enable syncthing@myuser.service
systemctl start syncthing@myuser.service

三、修改webui监听地址

暂时未修改,采用sshd隧道方式访问。