First, download the linux installer from https://www.goodsync.com/download/cc-runner-install-x86_64-release.run
Once downloaded, ensure that you grant the installer execution permissions:
chmod +x cc-runner-install-x86_64-release.run
Then, run the downloaded installer:
./cc-runner-install-x86_64-release.run
The installer will prompt the user for the following information:
- Installation directory – path where the application will be installed
- System user – user account that will connect to Control Center
- Job Server URL – Control Center URL address. Default is https://jobs.goodsync.com Note: If using self-hosted Control Center, enter the IP of your self-hosted environment server
- Company ID – points the runner to your particular company console (found in Settings tab of your Control Center).
- Company PIN – PIN used to whitelist incoming runners (optional)
- Encryption password – password to encrypt any uploaded accounts or jobs (optional)
Your Company ID will be located in your Control Center under the Settings tab.
The last step is to run the following command so that the Linux machine communicates to the Control Center:
gs-cc-runner /cc-runner &
This command will terminate on shutdown, so the command should be set as a startup script for persistence.
There are several approaches for this task, but two of the most common methods to automate startup scripts in Linux are via a cronjob and via rc.local.
Below is a link to one example:
http://linuxtechlab.com/executing-commands-scripts-at-reboot/
In Synology NAS, this is most commonly done via rc.d:
https://developer.synology.com/developer-guide/integrate_dsm/run_with_system_boot.html
The user/device will now appear in Control Center as a runner under the Runners tab.