Here is an example of my Linux Mint configuration in the Startup Applications control panel using the command listed above: It’s easy enough to get Syncthing started If you would rather integrate it with your system using runit/systemd/upstart just take a look at the etc folder in the tar.gz. There are plenty of ways to configure Syncthing to startup automatically but the one described above is a pretty universal method. usr/bin/syncthing -home="/home//.config/syncthing" In order to specify a configuration location you can pass the -home flag which would look something like this. This will install syncthing to /usr/bin/syncthing. # Add the "release" channel to your APT sources:Įcho "deb syncthing release" | sudo tee /etc/apt//syncthing.list The steps can be found here but I’ve re-listed them below for completeness sake: # Add the release PGP keys: If you are on Debian, Ubuntu or derivatives (such as Linux Mint) there is also an official repository you can add. If you want to configure syncthing to start without also starting up the browser you can simply run it using the -no-browser flag or by changing this behaviour in the settings. To start Syncthing all you need to do is execute the syncthing binary in that directory. For example you could extract the files to ~/syncthing/ to make things easy. One important thing to note is that you want whatever user will be running the program, for example your user account, to have write access to that folder so that Syncthing can auto-update itself. So for example you can grab the appropriate version for your Linux computer (for example the 64 bit syncthing-linux-amd64-v0.12.19.tar.gz download) right from their website.Įxtract the contents to a new folder in your home directory (or a directory wherever you want it to live). While it may be possible to get Syncthing from your distribution’s repositories I prefer to grab it right from the source. I’m also going to configure these to start automatically when the system starts up and run Syncthing in the background so it doesn’t get in your way if you don’t want to see it. This is going to be a basic guide to configure Syncthing to sync a folder between multiple computers. It is most analogous to BitTorrent Sync (BTS) but whereas BTS is somewhat undocumented and closed source, Syncthing is open source and uses an open protocol that can be independently verified. Syncthing is a file sharing application that lets you easily, and securely, share files between computers without having to store them on a third party server.
0 Comments
Leave a Reply. |