Conoha VPS のCentOS7 でSyncthingをインストールしたときのメモ


こちらを参考に、まずはGNOME GUI環境を構築。


yum update grub2-common
yum install fwupdate-efi

syncthing のInstall

https://copr.fedorainfracloud.org/coprs/daftaupe/syncthing/

参考に  /etc/yum.repos.d へ syncthing.repo を作成。

[daftaupe-syncthing]
name=Copr repo for syncthing owned by daftaupe
baseurl=https://copr-be.cloud.fedoraproject.org/results/daftaupe/syncthing/epel-7-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/daftaupe/syncthing/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1

 

yum install syncthing

firewalld の設定

firewall-cmd --list-services --zone=public --permanent

>ssh dhcpv6-client http

firewall-cmd --add-service=syncthing --zone=public --permanent
>success
firewall-cmd --reload
>success

>ssh dhcpv6-client http syncthing

syncthing を(root権限で)有効化


systemctl enable syncthing@root.service
systemctl start syncthing@root.service

syncthing の使い方。

https://rcmdnk.com/blog/2016/04/27/computer-network/