Install Syncthing Cloud Sync Service on Ubuntu 16.04 | 18.04

Syncthing is a true open source, self-hosted cloud service that can be used to replace proprietary sync and cloud services with something open, trustworthy and decentralized.

Like other open source cloud services, Syncthing provides similar functions, but let you choose where your data is stored and how it is being accessed… For those who have tried OwnCloud, NextCloud and other storage services and they’re still not sold, they may want to try Syncthing instead….

Syncthing enables private cloud services on users’ own servers. There is no central server, all communication is secured using TLS and every node is identified by a strong cryptographic certificate.

For more about Syncthing, please visit its homepage.

This brief tutorial is going to show students and new users how to install Syncthing on Ubuntu 16.04 | 18.04…

To get started with installing Syncthing, follow the steps below:

Step 1: Install Syncthing Repository

The easiest way to install Syncthing is via its repository. To do that, run the commands below to add its release PGP keys to Ubuntu.

sudo apt install curl
curl -s  | sudo apt-key add -

After that, run the commands below to add its stable repository.

echo "deb syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list

When you’re done, continue below to installing Syncthing.

Step 2: Install Syncthing Service

Now that you have added Syncthing repository and key, run the commands below to install.

sudo apt-get update
sudo apt-get install syncthing

Depending on your distribution, you may see an error similar to the following when running apt-get:

E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
E: Failed to fetch dists/syncthing/InRelease

If so, please install the apt-transport-https package and try again:

sudo apt-get install apt-transport-https

After installing, simply run the commands below to launch the server.

syncthing

It should automatically launch the server portal via your browse and allow you to manage the service.

Syncthing Ubuntu install

That’s it!

Congratulations! You have successfully installed Syncthing on Ubuntu 16.04 | 18.04 LTS servers.

You may also like the post below: