This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
distributed_database [2014/08/22 22:06] jap [GaianDB] |
distributed_database [2014/08/22 22:09] jap [GaianDB] |
||
---|---|---|---|
Line 24: | Line 24: | ||
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''. |