Syncthing
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 Method 1
vi /etc/rc.local
Add at the end:
/home/rsync/syncthing.sh &
Autostart Method 2
/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
Autostart Method 3
/etc/init.d/btsync
#! /bin/sh
### BEGIN INIT INFO
# Provides: btsync
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable service provided by daemon.
### END INIT INFO
# /etc/init.d/btsync
#
# Carry out specific functions when asked to by the system
case "$1" in
start)
/home/rsync/btsync_x64/btsync --config /home/rsync/btsync.conf
;;
stop)
killall btsync
;;
*)
echo "Usage: /etc/init.d/btsync {start|stop}"
exit 1
;;
esac
exit 0
Windows
Instalar Synctrayzor enlloc del syncthing:
https://github.com/canton7/SyncTrayzor#installation
You should go to File->Settings and enable:
- automatically start on login
- Start minimized
Got to Actions->Settings and disable:
- Start Browser