「Syncthing」:修訂間差異
第10行: | 第10行: | ||
== 設定 == | == 設定 == | ||
防火牆<ref>{{Cite web |url=https://docs.syncthing.net/users/firewall.html |title=Firewall Setup |accessdate=2020-08-14 |language=en}}</ref>: | |||
<syntaxhighlight lang="bash"> | |||
sudo ufw allow 21027/tcp; sudo ufw allow 22000/tcp | |||
</syntaxhighlight> | |||
在開機時自動執行<ref>{{Cite web |url=https://docs.syncthing.net/users/autostart.html |title=Starting Syncthing Automatically |accessdate=2020-08-14 |language=en}}</ref>,這邊是透過[[systemd]]的方式: | 在開機時自動執行<ref>{{Cite web |url=https://docs.syncthing.net/users/autostart.html |title=Starting Syncthing Automatically |accessdate=2020-08-14 |language=en}}</ref>,這邊是透過[[systemd]]的方式: |
於 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/tcp; 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).
外部連結
- 官方網站 (英文)