MirrorNest
← すべてのガイド

Syncthing

Syncthing is a continuous, decentralized peer-to-peer file synchronization tool that replicates folders directly between your own devices over an encrypted connection, with no central server or cloud in the middle.

対象: Debian/Ubuntu Linux (also Windows, MacOS, BSD)File Sync公式ホームページ ↗公式ドキュメント ↗
このガイドは上記リンク先にあるSyncthing公式ドキュメントをもとに作成されています。ディストリビューションやプロジェクトのバージョンは時間とともに変わるため、本番サーバーでこれらのコマンドを実行する前に、必ず公式ドキュメントで正確なパッケージ名・バージョン名を確認してください。
  1. 1Add the official APT repository (Debian/Ubuntu)

    sudo mkdir -p /etc/apt/keyrings
    sudo curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
    echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable-v2" | sudo tee /etc/apt/sources.list.d/syncthing.list
    sudo apt-get update

    stable-v2 tracks the monthly stable releases; use 'candidate' instead for release candidates.

  2. 2Install Syncthing

    sudo apt-get install syncthing
  3. 3Run Syncthing

    Run it directly, or as a persistent per-user systemd service.

    systemctl --user enable --now syncthing.service
  4. 4Access the web GUI

    On first launch Syncthing generates its config, encryption keys, and TLS certificate, then opens its admin GUI.

    The GUI is at http://localhost:8384/ and binds to localhost only by default; your browser must accept cookies for it to work.