Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
distributed_database [2014/08/22 22:06]
jap [GaianDB]
distributed_database [2014/08/22 23:42]
jap [GaianDB]
Line 8: Line 8:
 === Base system installation === === Base system installation ===
  
-Download, write, and boot latest Raspbian image: [[http://​www.raspberrypi.org/​downloads/​]]+Download, write, and boot latest Raspbian image: [[http://​www.raspberrypi.org/​downloads/​]]\\ 
 +Basic updates:
  
 +  sudo raspi-config
   sudo apt-get update   sudo apt-get update
   sudo apt-get upgrade   sudo apt-get upgrade
Line 24: Line 26:
 Follow installation instructions from the package. Download ia92.zip, extract and copy J2SE/​wmqtt.jar to gaiandb/​lib/ ​ Follow installation instructions from the package. Download ia92.zip, extract and copy J2SE/​wmqtt.jar to gaiandb/​lib/ ​
  
-add ''​$GDBL/​wmqtt.jar''​ to ''​$CLASSPATH''​ in ''​launchGaianServer.sh''​.+Enable broker in ''​gaian_config.properties'':​ 
 + 
 +  MSGBROKER_HOST=127.0.0.1 
 +  MSGBROKER_PORT=1883 
 +  MSGBROKER_TOPIC=gdb/​sensor/#​ 
 +  MSGSTORER_ROWEXPIRY_HOURS=24 
 +  MSGSTORER_MSGCOLS=VALUE REAL 
 +  BROKER_DS0_CONNECTION=LOCALDERBY BROKER_MSGS 
 + 
 +Add ''​$GDBL/​wmqtt.jar''​ to ''​$CLASSPATH''​ in ''​launchGaianServer.sh''​.
  
 Create boot script in ''/​etc/​init.d''​. Create boot script in ''/​etc/​init.d''​.
distributed_database.txt · Last modified: 2014/08/22 23:42 by jap
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki