serverapps:syncthing
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| serverapps:syncthing [2024/07/21 14:57] – [同期] hayashi | serverapps:syncthing [2025/04/09 06:47] (現在) – [Windows] hayashi | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== syncthing ====== | ====== syncthing ====== | ||
| - | |||
| ===== install(FreeBSD) ===== | ===== install(FreeBSD) ===== | ||
| + | 2025-04-09現在:pkgからsyncthingが消えています((14.1-p6と14.2-p2で確認)) | ||
| + | 一時的なものか恒久的なものかはわかりませんがpkgを使用しないinstallを書いておきます((portsから入れる手もあるのですが、今回は別の方法で)) | ||
| + | |||
| + | ==== ユーザ、グループの作成 ==== | ||
| + | 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 / | ||
| + | # curl -LO https:// | ||
| + | # tar -xzf syncthing-freebsd-amd64-v1.29.4.tar.gz | ||
| + | |||
| + | ==== インストール ==== | ||
| + | |||
| + | # cd / | ||
| + | # cp syncthing / | ||
| + | # chown syncthing: | ||
| + | |||
| + | |||
| + | ==== 設定 ==== | ||
| + | |||
| + | config dir作成 | ||
| + | |||
| + | # mkdir / | ||
| + | # chown syncthing: | ||
| + | # chmod 600 / | ||
| + | |||
| + | / | ||
| + | |||
| + | # 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 ===== | ||
| # pkg install syncthing | # pkg install syncthing | ||
| 行 11: | 行 80: | ||
| ===== allow access from the network ===== | ===== allow access from the network ===== | ||
| + | |||
| + | / | ||
| <file / | <file / | ||
| 行 27: | 行 98: | ||
| - | Chocolateyでインストール | + | Chocolateyでインストール((wingetでもOK)) |
| > choco install synctrayzor | > choco install synctrayzor | ||
serverapps/syncthing.1721573864.txt.gz · 最終更新: by hayashi
