Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to deploy a MQTT server

2025-03-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "how to deploy a MQTT server". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's ideas to study and learn "how to deploy a MQTT server".

I. basic knowledge

Introduction to 1.EMQX Broker

EMQ X Broker is an open source MQTT message server based on highly concurrent Erlang/OTP platform, which supports millions of connections and distributed cluster architecture, and publishes and subscribes.

EMQ X Broker is widely used in the global Internet of things market. EMQ X Broker supports open source free use, whether it's product prototyping, Internet of things startups, or large-scale commercial deployments.

II. Cloud deployment

1. Tencent Cloud type

You need to purchase Tencent Cloud CVM before deployment. Ubuntu 18.04server lts is used this time.

two。 Tencent Cloud type

Configure Port and hostname

Double-click ssh3 and click Accept & save in the pop-up box

Enter user code and password

Click the OK button, and the result of successful login is as follows:

3. Install and deploy emqx

Download the installation package:

Wget https://www.emqx.io/downloads/broker/v4.0.6/emqx-ubuntu18.04-v4.0.6_amd64.deb

Installation

Sudo dpkg-I emqx-ubuntu18.04-v4.0.6_amd64.deb

Start the service

Sudo emqx start

Log is as follows

Third, visit the cloud

Then log in to dashboad for verification. The address of this section is http://106.54.72.153:18083/, and you can change it to your own address. The default user code and password are: admin: public.

Thank you for your reading, the above is the content of "how to deploy the MQTT server", after the study of this article, I believe you have a deeper understanding of how to deploy the MQTT server, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report