#
Install Syncthing on Linux
By
Adrien
#
System Specification
#
Steps to follow
- Create a Syncthing user
sudo adduser syncthing
sudo passwd syncthing
sudo groupadd syncthing
sudo usermod -aG syncthing syncthing
sudo su - syncthing
- Add Syncthing repo to apt sources
echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
- Add Syncthing’s PGP keys
curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
- Install syncthing
sudo apt update
sudo apt install apt-transport-https
sudo apt install syncthing
- Start and enable Systemd
sudo systemctl daemon-reload
sudo systemctl enable syncthing@syncthing.service
sudo systemctl start syncthing@syncthing.service
Default port : 8384
- Open port 22000
sudo ufw allow 80/tcp
sudo ufw allow 22000/tcp
- Startup option
Set PVE option : "start at boot" to yes, "order" to 2
Install Syncthing on Ubuntu
https://www.linuxbabe.com/ubuntu/install-syncthing-ubuntu-desktop-server