Difference between revisions of "Cloud Servers - Syncthing"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
This WIP is based on setting up on a Debian based LXC. | <span style="color: rgb(132, 63, 161);" >This</span> <span style="color: rgb(186, 55, 42);" >WIP</span> <span style="color: rgb(132, 63, 161);" >is based on setting up on a Debian based LXC.</span> | ||
= Links: = | = Links: = |
Revision as of 23:55, 29 January 2024
This WIP is based on setting up on a Debian based LXC.
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)
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