ClearOS Documentation

×

Warning

0 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


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

  1. Install Syncthing
  2. Open firewall ports for 1- management and 2- data sync
  3. Set password for remote management
  4. Connect to another device

Step by step

  1. Get epel-release repo
    rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm?
  2. Get ok-release repo
    rpm -ivh http://repo.okay.com.mx/centos/6/x86_64/release/okay-release-1-1.noarch.rpm?
  3. Install Syncthing
    yum install syncthing
  4. Open up firewall ports 8384/TCP (or 8080/TCP for older versions), 22000/TCP, and 21025/UDP at https://example.org:81/app/incoming_firewall as per https://github.com/syncthing/syncthing/wiki/Firewalls-and-Port-Forwards
  5. Start Syncthing
    syncthing
  6. 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
  7. Access Syncthing via https://example.org:8384 (or 8080 for older versions)
    1. Set a username and password
  8. To start automatically on boot
    chkconfig syncthing on

Todo

Questions

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.

Radar

content/en_us/kb_syncthing.txt · Last modified: 2018/02/19 15:59 by marclaporte

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3Akb_syncthing&1568771348