Orion-LD is an NGSI-LD publish/subscribe broker (a.k.a. a context broker). For now, Orion-LD only runs under Linux. No effort has been made so far to make Orion-LD run under any other platform.
Orion-LD NGSI-LD Context Broker reference distribution is Ubuntu 18.04. While Orion-LD works just fine also in CentOS, Debian, etc, or, other versions of Ubuntu, including 20.04, the inly officially supported distribution is Ubuntu 18.04.
The easiest way to install Orion-LD is using docker compose via a provided by the github page docker image.
——————————————————————————————————————————
docker_compose_orionld+troe.yml
—————————————————————————————
Also be aware that the ports used by the broker and it's components might be already in use, by your machine, so pay attention and manage the ports accordingly.
Docker Compose allows you to link an Orion Context Broker container to a MongoDB container in a few minutes. This method requires that you install Docker Compose.
Consider this method if you want to try Orion Context Broker and do not want to bother about databases or you don't care about losing data.
Follow these steps:
Create a directory on your system on which to work (for example, ~/fiware
).
Create a new file called docker-compose.yml
inside your directory with the following contents:
mongo:
image: mongo:3.4
command: --nojournal
orion:
image: fiware/orion-ld
links:
- mongo
ports:
- "1026:1026"
command: -dbhost mongo