Installing on Debian and Ubuntu
VerneMQ can be installed on Debian or Ubuntu-based systems using the binary package we provide.

Install VerneMQ

Once you have downloaded the binary package, execute the following command to install VerneMQ:
1
sudo dpkg -i vernemq-<VERSION>.bionic.x86_64.deb
Copied!
Note: Replace bionic with appropriate OS version such as focal/trusty/xenial.

Verify your installation

You can verify that VerneMQ is successfully installed by running:
1
dpkg -s vernemq | grep Status
Copied!
If VerneMQ has been installed successfully Status: install ok installed is returned.

Activate VerneMQ node

To use the provided binary packages the VerneMQ EULA must be accepted. See Accepting the VerneMQ EULA for more information.
Once you've installed VerneMQ, start it on your node:
1
service vernemq start
Copied!

Default Directories and Paths

The whereis vernemq command will give you a couple of directories:
1
whereis vernemq
2
vernemq: /usr/sbin/vernemq /usr/lib/vernemq /etc/vernemq /usr/share/vernemq
Copied!
Path
Description
/usr/sbin/vernemq:
the vernemq and vmq-admin commands
/usr/lib/vernemq
the vernemq package
/etc/vernemq
the vernemq.conf file
/usr/share/vernemq
the internal vernemq schema files
/var/lib/vernemq
the vernemq data dirs for LevelDB (Metadata Store and Message Store)

Next Steps

Now that you've installed VerneMQ, check out How to configure VerneMQ.
Last modified 2mo ago