Syncthing

De WikiMar
Salta a la navegació Salta a la cerca

Linux Fedora

wget https://download-cdn.getsync.com/stable/linux-x64/BitTorrent-Sync_x64.tar.gz
tar -xf BitTorrent-Sync_x64.tar.gz
sudo -u rsync /home/rsync/syncthing-linux-amd64/syncthing  -home=/home/rsync/.syncthing

Linux Ubuntu

sudo apt-get install syncthing


If the packet cannot be found:

# Add the release PGP keys:
curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
# Add the "release" channel to your APT sources:
echo "deb http://apt.syncthing.net/ syncthing release" | sudo tee /etc/apt/sources.list.d/syncthing.list
# Update and install syncthing:
sudo apt-get update
sudo apt-get install syncthing


Additionally install the tray icon:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install syncthing-gtk


Autostart

/etc/init/syncthing.conf

description "Syncthing P2P sync service"

start on (local-filesystems and net-device-up IFACE!=lo) stop on runlevel [!2345]

env STNORESTART=yes env HOME=/home/rsync setuid "rsync" setgid "rsync"

exec /usr/bin/syncthing

respawn

Windows

Instalar Synctrayzor enlloc del syncthing:

https://github.com/canton7/SyncTrayzor#installation