Run Syncthing on your server

#StandWithUkraine
Today, 4th December 2022, Ukraine is still bravely fighting for democratic values, human rights and peace in whole world. Russians ruthlessly kill all civilians in Ukraine including childs and destroy their cities. We are uniting against Putinโ€™s invasion and violence, in support of the people in Ukraine. You can help by donating to Ukrainian's army.

SyncThing is a well-known self-hosted shared disk. It is like Google Drive, Dropbox, and so on, but on your own, free, space-unlimited server! Let's install it now!

Syncthing is a best opensource file share

I am using Ubuntu 16.04.1 LTS on x86_64 server.

  1. Install docker (remove part needed to delete older versions of docker, that might be installed during OS installation, if you already have docker, skip this step):
sudo apt update && sudo apt remove docker docker-engine docker.io && sudo apt install docker.io

2. Pull synching from dockerhub:

docker pull syncthing/syncthing

3. Run container using the command (port 8384 required for GUI):

docker run -p 8384:8384 -p 22000:22000/tcp -p 22000:22000/udp \
    -v /home/reni/st-sync:/var/syncthing \
    --hostname=my-syncthing \
    syncthing/syncthing:latest

4. Go to localhost:8384 (or 1.2.3.4:8384 host where you're running syncthing ) to check syncthing GUI: Image for a hint

5. Don't forget to configure the user in Settings menu, to restrict access to you storage:

Image for a hint

Links

#syncthing #ops
0
Bruce Hardy profile picture
Sep 16, 2017
by Bruce Hardy
Did it help you?
Yes !
No

Best related