serverapps:syncthing
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
serverapps:syncthing [2025/04/09 05:36] – hayashi | serverapps:syncthing [2025/04/09 06:47] (現在) – [Windows] hayashi | ||
---|---|---|---|
行 3: | 行 3: | ||
2025-04-09現在:pkgからsyncthingが消えています((14.1-p6と14.2-p2で確認)) | 2025-04-09現在:pkgからsyncthingが消えています((14.1-p6と14.2-p2で確認)) | ||
一時的なものか恒久的なものかはわかりませんがpkgを使用しないinstallを書いておきます((portsから入れる手もあるのですが、今回は別の方法で)) | 一時的なものか恒久的なものかはわかりませんがpkgを使用しないinstallを書いておきます((portsから入れる手もあるのですが、今回は別の方法で)) | ||
- | ダウンロードは[[https:// | ||
+ | ==== ユーザ、グループの作成 ==== | ||
+ | uid.gidは旧pkgに合わせましたが、任意で大丈夫です | ||
+ | === グループ追加 === | ||
+ | # pw add group -g 983 -n syncthing | ||
+ | |||
+ | === ユーザ追加 === | ||
+ | |||
+ | defaultではここで指定した**/ | ||
+ | |||
+ | # pw add user -n syncthing -u 983 -g syncthing -d /Syncthing -s / | ||
+ | # mkdir /Syncthing | ||
+ | # chown syncthing: | ||
+ | |||
+ | ==== ダウンロード ==== | ||
+ | |||
+ | ダウンロードは[[https:// | ||
# cd / | # cd / | ||
# curl -LO https:// | # curl -LO https:// | ||
# tar -xzf syncthing-freebsd-amd64-v1.29.4.tar.gz | # tar -xzf syncthing-freebsd-amd64-v1.29.4.tar.gz | ||
- | # cd syncthing-freebsd-amd64-v1.29.4 | ||
- | # | ||
+ | ==== インストール ==== | ||
+ | # cd / | ||
+ | # cp syncthing / | ||
+ | # chown syncthing: | ||
+ | ==== 設定 ==== | ||
- | syncthing:*: | + | config dir作成 |
+ | |||
+ | # mkdir / | ||
+ | # chown syncthing:syncthing | ||
+ | # chmod 600 /usr/local/ | ||
+ | |||
+ | / | ||
+ | |||
+ | # mkdir / | ||
+ | |||
+ | / | ||
+ | |||
+ | # cp etc/ | ||
+ | # chmod 755 / | ||
+ | |||
+ | |||
+ | permission変更 | ||
+ | |||
+ | # chmod 555 / | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | / | ||
+ | |||
+ | syncthing_enable=YES | ||
+ | # Optional configuration options are: | ||
+ | # syncthing_home=</ | ||
+ | # syncthing_log_file=</ | ||
+ | # syncthing_user=< | ||
+ | # syncthing_group=< | ||
+ | |||
+ | |||
+ | 後はpkgで作成した場合と同じです | ||
+ | | ||
===== install(FreeBSD) from pkg ===== | ===== install(FreeBSD) from pkg ===== | ||
行 28: | 行 80: | ||
===== allow access from the network ===== | ===== allow access from the network ===== | ||
+ | |||
+ | / | ||
<file / | <file / | ||
行 44: | 行 98: | ||
- | Chocolateyでインストール | + | Chocolateyでインストール((wingetでもOK)) |
> choco install synctrayzor | > choco install synctrayzor |
serverapps/syncthing.1744176988.txt.gz · 最終更新: by hayashi