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
Last revision Both sides next revision
distributed_database [2014/08/22 21:21]
jap [GaianDB]
distributed_database [2014/08/22 23:41]
jap [GaianDB]
Line 6: Line 6:
 ===== GaianDB ===== ===== GaianDB =====
  
-=== Installation ​===+=== Base system installation ​=== 
 + 
 +Download, write, and boot latest Raspbian image: [[http://​www.raspberrypi.org/​downloads/​]] 
 + 
 +  sudo raspi-config 
 +  sudo apt-get update 
 +  sudo apt-get upgrade 
 + 
 +Install mosquitto:​ 
 + 
 +  sudo apt-get install mosquitto
  
 Download gaiandb from IBM: [[https://​www.ibm.com/​developerworks/​community/​groups/​service/​html/​communityview?​communityUuid=f6ce657b-f385-43b2-8350-458e6e4a344f]].\\ Download gaiandb from IBM: [[https://​www.ibm.com/​developerworks/​community/​groups/​service/​html/​communityview?​communityUuid=f6ce657b-f385-43b2-8350-458e6e4a344f]].\\
 At the time of writing the latest version is 1.5. At the time of writing the latest version is 1.5.
  
-Unzip package ​to the target ​system. In this example ​folder ​''/​opt/​gaiandb''​ is assumed.+Unzip to target ​folder. In this example ''/​home/pi/​gaiandb''​ is assumed. 
 + 
 +Follow installation instructions from the package. Download ia92.zip, extract and copy J2SE/​wmqtt.jar to gaiandb/​lib/​  
 + 
 +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''​. 
  
-Follow installation instructions from the package. ​ 
 ===== RethinkDB===== ===== RethinkDB=====
  
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