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.debInstall
Install based on your version and architecture, for example:
bash
$ sudo dpkg -i neuronex-3.7.0-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 NeuronEX service:
bash
$ sudo systemctl stop neuronexUninstall the current NeuronEX:
bash
$ sudo dpkg -r neuronexDownload the new NeuronEX installation package and install it:
bash
$ sudo dpkg -i neuronex-3.x.x-linux-amd64.debAfter running the above commands, the new version of NeuronEX will retain the previous configurations. Start the new NeuronEX 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 NeuronEX version, then import these files into the same directory of the new NeuronEX version to restore the configurations.