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.9.2/neuronex-3.9.2-linux-amd64.debInstall
Install based on your version and architecture, for example:
bash
$ sudo dpkg -i neuronex-3.9.2-linux-amd64.debStart
bash
$ sudo systemctl start neuronexStatus
bash
$ sudo systemctl status neuronexStop
bash
$ sudo systemctl stop neuronexUninstall
- Uninstall but keep configuration files, log files, and data files.
bash
$ sudo dpkg -r neuronex- Uninstall and remove all files.
bash
$ sudo dpkg -P neuronexUpgrade
Stop the current EMQX Neuron service:
bash
$ sudo systemctl stop neuronexUninstall the current EMQX Neuron:
bash
$ sudo dpkg -r neuronexDownload the new EMQX Neuron installation package and install it:
bash
$ sudo dpkg -i neuronex-3.x.x-linux-amd64.debAfter running the above commands, the new version of EMQX Neuron will retain the previous configurations. Start the new EMQX Neuron service:
bash
$ sudo systemctl start neuronexTIP
Alternatively, you can manually copy and back up the files in the /opt/neuronex/data/ directory of the old EMQX Neuron version, then import these files into the same directory of the new EMQX Neuron version to restore the configurations.