2018-02-19: We are currently testing an app, which will replace the manual steps below. Please see: http://wikisuite.org/How-to-install-Syncthing-on-ClearOS
Syncthing
“Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it's transmitted over the Internet.”
Source: http://syncthing.net/
Install Syncthing on ClearOS
Big picture steps
Install Syncthing
Open firewall ports for 1- management and 2- data sync
Set password for remote management
Connect to another device
Step by step
Get epel-release repo
rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm?
Get ok-release repo
rpm -ivh http://repo.okay.com.mx/centos/6/x86_64/release/okay-release-1-1.noarch.rpm?
Install Syncthing
yum install syncthing
-
Start Syncthing
syncthing
Permit remote management (ClearOS is a server, and designed to be managed remotely via the
GUI, but by default, Syncthing only accepts connections for localhost which makes sense for a desktop or mobile device): replace the gui address (default: 127.0.0.1) with your IP in the config file
nano ~/.config/syncthing/config.xml
-
Set a username and password
To start automatically on boot
chkconfig syncthing on
-
Todo
Check how to get in services list
Document how to use Firewall to restrict access to certain IPs for management
Document for a Flexshare directory
Make an official app for ClearOS
Questions
-
Will Syncthing be ported to ChromeOS and
iOS one day?
-
Long term
Multi-user Syncthing roadmap
Syncthing has no concept of username or groups. It is mostly designed to be installed on diverse client devices for P2P sync.
-
Each user has their own running instance of Syncthing
Device IDs running in ClearOS could be in ClearOS user directory (OpenLDAP) to make it easier to share
Users sharing data should use the ClearOS instance for availability and performance
To investigate
-
interop with FlexShare
-
-
Radar