Syncthing:修订间差异
跳到导航
跳到搜索
此页面具有访问限制。如果您看见此消息,则说明您没有权限访问此页面。
(→設定) |
(→設定) |
||
第14行: | 第14行: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo ufw allow 21027/ | sudo ufw allow 21027/udp; sudo ufw allow 22000/tcp | ||
</syntaxhighlight> | </syntaxhighlight> | ||
2020年8月14日 (五) 11:01的版本
Syncthing是一套资料同步软件。
安装
Ubuntu下可以透过apt repository安装[1]:
curl -s https://syncthing.net/release-key.txt | sudo apt-key add -; echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list; sudo apt update; sudo apt install -y syncthing
设定
防火墙[2]:
sudo ufw allow 21027/udp; sudo ufw allow 22000/tcp
sudo systemctl enable syncthing@myuser.service; sudo systemctl start syncthing@myuser.service
参考资料
- ↑ Downloads. [2020-08-14] (English).
- ↑ Firewall Setup. [2020-08-14] (English).
- ↑ Starting Syncthing Automatically. [2020-08-14] (English).
外部链接
- 官方网站 (英文)