Syncthing (Linux): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
 
(12 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 8: Zeile 8:
<pre>
<pre>
sudo curl -s -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
sudo curl -s -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
</pre>
Repository zu Source-Listen hinzufügen:
<pre>
echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
</pre>
Damit die System-Pakete eine niedrigere Priorität gegenüber dem Repository bekommen, müssen die Prioritätspräferenzen angepasst werden:
<pre>
# Increase preference of Syncthing's packages ("pinning")
printf "Package: *\nPin: origin apt.syncthing.net\nPin-Priority: 990\n" | sudo tee /etc/apt/preferences.d/syncthing
</pre>
Installieren:
<pre>
sudo apt-get update && sudo apt-get install -y syncthing
</pre>
</pre>


Zeile 13: Zeile 32:


[https://apt.syncthing.net/ https://apt.syncthing.net/]
[https://apt.syncthing.net/ https://apt.syncthing.net/]
== Konfiguration ==
=== Autostart ===
Durch ausführen von
<pre>
sudo systemctl enable syncthing@<local user>.service
sudo systemctl start syncthing@<local user>.service
</pre>
wird ein symbolischer Link auf die Datei
<pre>
/lib/systemd/system/syncthing@.service
</pre>
erstellt.
==== Links ====
[https://docs.syncthing.net/users/autostart.html#linux https://docs.syncthing.net/users/autostart.html#linux]
=== GUI ===
Standardmäßig sind nur Verbindungen von <code>localhost</code> möglich. Damit
==== Links ====
[https://docs.syncthing.net/users/guilisten.html https://docs.syncthing.net/users/guilisten.html]
[https://docs.syncthing.net/users/config.html https://docs.syncthing.net/users/config.html]
[https://docs.syncthing.net/users/reverseproxy.html https://docs.syncthing.net/users/reverseproxy.html]


== Client ==
== Client ==
Zeile 27: Zeile 81:


== Links ==
== Links ==
[https://syncthing.net/ https://syncthing.net/]
[https://docs.syncthing.net/users/index.html https://docs.syncthing.net/users/index.html]


[https://www.linuxbabe.com/ubuntu/install-syncthing-ubuntu-desktop-server https://www.linuxbabe.com/ubuntu/install-syncthing-ubuntu-desktop-server]
[https://www.linuxbabe.com/ubuntu/install-syncthing-ubuntu-desktop-server https://www.linuxbabe.com/ubuntu/install-syncthing-ubuntu-desktop-server]

Aktuelle Version vom 23. Juni 2021, 18:35 Uhr

Noch in Bearbeitung


Installation

PGP-Schlüssel hinzufügen:

sudo curl -s -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg

Repository zu Source-Listen hinzufügen:

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

Damit die System-Pakete eine niedrigere Priorität gegenüber dem Repository bekommen, müssen die Prioritätspräferenzen angepasst werden:

# Increase preference of Syncthing's packages ("pinning")
printf "Package: *\nPin: origin apt.syncthing.net\nPin-Priority: 990\n" | sudo tee /etc/apt/preferences.d/syncthing

Installieren:

sudo apt-get update && sudo apt-get install -y syncthing

Links

https://apt.syncthing.net/

Konfiguration

Autostart

Durch ausführen von

sudo systemctl enable syncthing@<local user>.service
sudo systemctl start syncthing@<local user>.service

wird ein symbolischer Link auf die Datei

/lib/systemd/system/syncthing@.service

erstellt.

Links

https://docs.syncthing.net/users/autostart.html#linux

GUI

Standardmäßig sind nur Verbindungen von localhost möglich. Damit

Links

https://docs.syncthing.net/users/guilisten.html

https://docs.syncthing.net/users/config.html

https://docs.syncthing.net/users/reverseproxy.html

Client

Android

https://play.google.com/store/apps/details?id=com.nutomic.syncthingandroid&hl=de_AT&gl=US

https://f-droid.org/packages/com.nutomic.syncthingandroid/

Windows

https://syncthing.net/downloads/

Links

https://syncthing.net/

https://docs.syncthing.net/users/index.html

https://www.linuxbabe.com/ubuntu/install-syncthing-ubuntu-desktop-server


Zurück zu Ubuntu