Platform Team/sugar-stats: Difference between revisions

No edit summary
Line 25: Line 25:


Server will authenticate clients using SSH keys generated on client side by Sugar Shell. To let server check client signatures, OpenSSH-5.6+ should be installed on server side. For less than 5.6 versions, authentication needs to be disabled using {{Code|trust-users}} parameter.
Server will authenticate clients using SSH keys generated on client side by Sugar Shell. To let server check client signatures, OpenSSH-5.6+ should be installed on server side. For less than 5.6 versions, authentication needs to be disabled using {{Code|trust-users}} parameter.
=== Configuration ===
Read the {{Code|/etc/sugar-stats.conf}} for explanation or run the following command to get current configuration with comments:
sugar-stats-server config
The important parameters that need to be set before using the server (for sugar-stats-server installed from packages there are initialized by meaningful values):
* {{Code|stats/stats-root = /var/lib/sugar-stats/rrd}}<br>Path to the root directory to place stats;
* {{Code|active-document/data-root = /var/lib/sugar-stats/users}}<br>Path to the root directory to place documents' data and indexes;


== Getting the code ==
== Getting the code ==