Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
themeMidnight
titleTerminal
docker run -e connection_broker_mqtt_hostname=my<my-mqtt-hostname/IP> -p 8319:8319 docker.linksmart.eu/agentla:latest

Run Agent without an existing broker

Dependencies

  • Docker


Code Block
languagebash
themeMidnight
titleTerminal
docker run --detach --name mqtt-broker -p 1883:1883 eclipse-mosquitto
docker run -e connection_broker_mqtt_hostname=mqtt-broker -p 8319:8319 docker.linksmart.eu/agentla:latest

Native Java

Run Agent with existing broker

Dependencies

  • JDK >=8
  • MQTT Broker
  • wget
  • Linux distribution
Code Block
languagebash
themeMidnight
titleTerminal
wget -q -O "agent.jar" "https://linksmart.eu/repo/service/local/artifact/maven/content?r=releases&g=eu.linksmart.services.events.gpl.distributions&a=iot.learning.universal.agent&v=LATEST"
export env_var_enabled=true
export cep_init_engines=eu.linksmart.services.event.cep.engines.EsperEngine
export agent_init_extensions=eu.linksmart.services.event.ceml.core.CEML
export connection_broker_mqtt_hostname=my-mqtt-hostname
java -jar agent.jar

Run Agent without existing broker

Dependencies

  • JDK >=8
  • APT
  • wget
  • Linux distribution
Code Block
languagebash
themeMidnight
titleTerminal
apt-get install mosquitto
wget -q -O "agent.jar" "https://linksmart.eu/repo/service/local/artifact/maven/content?r=releases&g=eu.linksmart.services.events.gpl.distributions&a=iot.learning.universal.agent&v=LATEST"
export env_var_enabled=true
export cep_init_engines=eu.linksmart.services.event.cep.engines.EsperEngine
export agent_init_extensions=eu.linksmart.services.event.ceml.core.CEML
java -jar agent.jar


See Getting Started Native Java