# Install Syncthing on Linux

By
Adrien

# System Specification

Recommanded
Processor 1 vCore
Memory 1GB RAM
Storage 5Go (minimum)

# Steps to follow

  1. Create a Syncthing user
sudo adduser syncthing
sudo passwd syncthing
sudo groupadd syncthing
sudo usermod -aG syncthing syncthing
sudo su - syncthing
  1. Add Syncthing repo to apt sources
echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
  1. Add Syncthing’s PGP keys
curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
  1. Install syncthing
sudo apt update
sudo apt install apt-transport-https
sudo apt install syncthing
  1. Start and enable Systemd
sudo systemctl daemon-reload
sudo systemctl enable syncthing@syncthing.service
sudo systemctl start syncthing@syncthing.service

Default port : 8384

  1. Open port 22000
sudo ufw allow 80/tcp
sudo ufw allow 22000/tcp
  1. 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