Difference between revisions of "Cloud Servers - Syncthing"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
(Created page with "= Installing Syncthing = Add the release PGP keys: * <code>sudo mkdir -p /etc/apt/keyrings</code> * <code>sudo curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg <nowiki>https://syncthing.net/release-key.gpg</nowiki></code> Add the "stable" channel to your APT sources: * <code>echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] <nowiki>https://apt.syncthing.net/</nowiki> syncthing stable" {{!}} sudo tee /etc/apt/sources.list.d/syncthing.list</c...")
 
Line 1: Line 1:
= Links: =
* [https://syncthing.net/ Web Site]
* [https://docs.syncthing.net/index.html Documentation]
* [https://github.com/syncthing GitHub]
= Installing Syncthing =
= Installing Syncthing =



Revision as of 00:51, 30 January 2024

Links:

Installing Syncthing

Add the release PGP keys:

  • sudo mkdir -p /etc/apt/keyrings
  • sudo curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg

Add the "stable" channel to your APT sources:

  • echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list

Update and install syncthing:

  • sudo apt-get update
  • sudo apt-get install syncthing
  • vi ~/.local/state/syncthing/config.xml
    • Change <address> to 0.0.0.0:8384 (line 55)</address>

Set up as a system service

(Replace “myuser” with the actual Syncthing user after the @:)

  • systemctl enable syncthing@myuser.service
  • systemctl start syncthing@myuser.service