Ubuntu
This section guides you on installing and starting EMQX on the Ubuntu system.
Supported versions:
- Ubuntu 20.04
- Ubuntu 18.04
- Ubuntu 16.04
The section below will take Ubuntu 22.04 as an example to illustrate how to download the latest version of EMQX. For other versions, please visit the EMQX Deployment page.
Install with deb
EMQX offers different installation packages for different CPU architectures.
Download emqx-ee-ubuntu20.04-4.3.19-amd64.deb
bashwget https://www.emqx.com/en/downloads/enterprise/4.3.19/emqx-ee-ubuntu20.04-4.3.19-amd64.deb
Install EMQX
bashsudo apt install ./emqx-ee-ubuntu20.04-4.3.19-amd64.deb
Start EMQX
EMQX offers 3 different options to start EMQX:
To start EMQX directly, run:
bash$ emqx start EMQX 4.3.19 is started successfully! $ emqx_ctl status Node 'emqx@127.0.0.1' 4.3.19 is started
To start EMQX with systemctl, run:
bashsudo systemctl start emqx
To start EMQX as a service, run:
bashsudo service emqx start
Install with tar.gz
EMQX offers different installation packages for different CPU architectures.
Download emqx-ee-ubuntu20.04-4.3.19-amd64.zip
bashwget https://www.emqx.com/en/downloads/enterprise/4.3.19/emqx-ee-ubuntu20.04-4.3.19-amd64.zip
Install EMQX
bashunzip emqx-ee-ubuntu20.04-4.3.19-amd64.zip
Start EMQX
After the installation, run the command below to start EMQX.
bash
./emqx/bin/emqx start