Using deb package

Download

Download the installation package according to different versions and architectures, E.g.

  1. $ wget https://www.emqx.com/en/downloads/neuron/2.4.0/neuron-2.4.0-linux-amd64.deb

Install

Install according to different versions and architectures, E.g.

  1. $ sudo dpkg -i neuron-2.4.0-linux-amd64.deb

To avoid replacing the neuron package due to the ubuntu system perform the package updated automatically, you also need to execute the following command to keep the neuron package in the apt upgrade.

  1. $ sudo apt-mark hold neuron

TIP

After successful installation of the deb package, Neuron is automatically started.

Status

  1. $ sudo systemctl status neuron

Stop

  1. $ sudo systemctl stop neuron

Restart Neuron

  1. $ sudo systemctl restart neuron

Uninstall

  1. $ sudo dpkg -r neuron