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:

sudo dpkg -i vernemq-<VERSION>.bionic.x86_64.deb

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:

dpkg -s vernemq | grep Status

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:

service vernemq start

Default Directories and Paths

The whereis vernemq command will give you a couple of directories:

whereis vernemq
vernemq: /usr/sbin/vernemq /usr/lib/vernemq /etc/vernemq /usr/share/vernemq

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 updated