Changes

no edit summary
Line 8: Line 8:     
More (0.86+) Sugar version might be added on demand.
 
More (0.86+) Sugar version might be added on demand.
 +
 +
== Stats server ==
 +
 +
Project contains also a server which is based on [[Sugar_Server_Kit/Active_Document|active-document]] and [[Sugar_Server_Kit/RESTful_Document|restful-document]] and designed to be a part of [[Platform_Team/Sugar_Network|Sugar Network]] and [[Sugar Server Kit/sugar-server|sugar-server]] implementations.
 +
 +
Standalone server might be launched using {{Code|sugar-stats-server}} command from project sources. The easiest way is using binary package [http://download.sugarlabs.org/packages/Server:/Factory/ sugar-stats-server]. The package contains:
 +
 +
* {{Code|sugar-stats-server}} command,
 +
* {{Code|/etc/sugar-stats.conf}} default configuration,
 +
* {{Code|/etc/init.d/sugar-stats}} daemon.
 +
 +
For stats transfering from clients, it is useful to use secure SSL connection. Server configuration needs to be tweaked (the [[Sugar_Server_Kit/sugar-client#Usage statistics|client]] should use the same certificate):
 +
 +
* {{Code|stats-keyfile}}, path to server's private key,
 +
* {{Code|stats-certificate}}, path to server's certificate file.
 +
 +
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.
    
== Getting the code ==
 
== Getting the code ==