How To Install EMQX MQTT Broker on Rocky Linux 8

How To Install EMQX MQTT Broker on Rocky Linux 8

 in This Tutorial you will Learn " How To Install EMQX MQTT Broker on Rocky Linux 8"

MQTT broker is a lightweight message exchange protocol that makes use of the publish-subscribe pattern. That is to say, the MQTT broker receives the message published by clients, filters them according to topics, and distributes them to the subscribers. EMQX is an open-source, elastic MQTT message broker written in Erlang.
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      |    IP -192.168.1.20        |     Hostname - www.primaryhost.com
_________________________________________________________________________________________
cat /etc/system-release ; sestatus ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y

Method 1 -
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://repos.emqx.io/emqx-ce/redhat/centos/8/emqx-ce.repo
yum install emqx -y
sudo systemctl start emqx && sudo systemctl enable emqx ; systemctl status emqx

Method 2 - curl https://repos.emqx.io/install_emqx.sh | sudo bash
systemctl start emqx && sudo systemctl enable emqx ; systemctl status emqx


sudo firewall-cmd --add-port=18083/tcp --permanent
sudo firewall-cmd --add-port=8083/tcp --permanent
sudo firewall-cmd --add-port=1883/tcp --permanent
sudo firewall-cmd --add-port=8081/tcp --permanent
sudo firewall-cmd --add-port=8883/tcp --permanent
sudo firewall-cmd --add-port=8084/tcp --permanent
sudo firewall-cmd --reload
admin/public
http://192.168.1.20:18083
__________________________




Share on Pinterest
Share on LinkedIn
Share on WhatsApp
Share on Telegram