Skip to content

Using deb packages

Download

Download the installation package for different versions and CPU architectures from the EMQ website, for example:

bash
$ wget https://www.emqx.com/en/downloads/neuronex/3.7.0/neuronex-3.7.0-linux-amd64.deb

Install

Install based on your version and architecture, for example:

bash
$ sudo dpkg -i neuronex-3.7.0-linux-amd64.deb

Start

bash
$ sudo systemctl start neuronex

Status

bash
$ sudo systemctl status neuronex

Stop

bash
$ sudo systemctl stop neuronex

Uninstall

  • Uninstall but keep configuration files, log files, and data files.
bash
$ sudo dpkg -r neuronex
  • Uninstall and remove all files.
bash
$ sudo dpkg -P neuronex

Upgrade

Stop the current NeuronEX service:

bash
$ sudo systemctl stop neuronex

Uninstall the current NeuronEX:

bash
$ sudo dpkg -r neuronex

Download the new NeuronEX installation package and install it:

bash
$ sudo dpkg -i neuronex-3.x.x-linux-amd64.deb

After running the above commands, the new version of NeuronEX will retain the previous configurations. Start the new NeuronEX service:

bash
$ sudo systemctl start neuronex

TIP

Alternatively, you can manually copy and back up the files in the /opt/neuronex/data/ directory of the old NeuronEX version, then import these files into the same directory of the new NeuronEX version to restore the configurations.