Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 891 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 891 Bytes

Syncthing for CentOS

RPM Install

yum install https://github.com/mlazarov/syncthing-centos/releases/download/v0.14.7/syncthing-0.14.7-0.el7.centos.x86_64.rpm

RPM Build

Install rpmbuild requirements

yum install -y yum-utils vim rpm-build rpmdevtools redhat-rpm-config make gcc gcc-c++ git

Clone the repo and build rpm package

cd ~
git clone https://github.com/mlazarov/syncthing-centos.git rpmbuild/
mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
cd ~/rpmbuild/SOURCES/
wget https://github.com/syncthing/syncthing/releases/download/v0.14.7/syncthing-linux-amd64-v0.14.7.tar.gz
cd ~/rpmbuild/SPECS/
rpmbuild -bb syncthing.spec

Start syncthing systemd service

sudo systemctl start syncthing@<username>

You can now access the GUI through this URL: http://localhost:8080