Requirements

The mentioned Debian / Ubuntu instructions have been tested on:

  • Ubuntu 16.04 (LTS)
  • Ubuntu 18.04 (LTS)
  • Debian 9 (Stretch)

MQTT broker

LoRa Server makes use of MQTT for publishing and receivng application payloads. Mosquitto is a popular open-source MQTT server, but any MQTT broker implementing MQTT 3.1.1 should work. In case you install Mosquitto, make sure you install a recent version.

Install

Debian / Ubuntu

In order to install Mosquitto, execute the following command:

sudo apt-get install mosquitto

Other platforms

Please refer to the Mosquitto download page for information about how to setup Mosquitto for your platform.

PostgreSQL database

LoRa Server persists the gateway data into a PostgreSQL database. Note that PostgreSQL 9.5+ is required.

Install

Debian / Ubuntu

To install PostgreSQL:

sudo apt-get install postgresql

Other platforms

Please refer to the PostgreSQL download page for information how to setup PostgreSQL on your platform.

Redis database

LoRa Server stores all non-persistent data into a Redis datastore. Note that at least Redis 2.6.0 is required.

Install

Debian / Ubuntu

To Install Redis:

sudo apt-get install redis-server

Other platforms

Please refer to the Redis documentation for information about how to setup Redis for your platform.