The latest version of 2023~Build an EMQX server in ten minutes with zero basics

Buy a server

Known major server manufacturers

1 Alibaba Cloud click to access directly

2 Click to access Huawei Cloud directly

3 Tencent Cloud click to access directly

I still recommend that big companies will not run away.

What I purchased here is a one-year Huawei cloud server (new users 64 per year). Mirror recommendation Ubuntu 18

Insert image description here

Log in to the server (you need to reset your password!!!)

Click on the console in the upper right corner

After completing the purchase, select the third option on the left and click

You can see the server you purchased

Click the blue text on the right side of the icon to enter detailed configuration

Insert image description here

Insert image description here

Click remote login cloudshell login

Insert image description here

Enter password to log in directly

Insert image description here

Install EMQX

Visit emqx official website

Click to visit

Just enter the commands in steps 1 and 2 on the Ubuntu command line. emqx will start by itself. It is very simple. You don’t need to go to the mirror station to copy the code step by step.
Insert image description here

Configure the server security group (be sure to restart the server after configuring)

Rule reference

Insert image description here

Configure as shown
Insert image description here

Visit the EMQX console

The fixed format of the URL is your public IP+: 1883

For example 00.00.00.00:1883

The account defaults to admin and the password defaults to public.

Insert image description here

Subscription publish test

Click to enter as shown in the picture

Insert image description here

The hostname is the public IP of your server

After filling in, click Connect

Insert image description here

Click Subscribe and Publish respectively. Once the data comes out, it will be ready.
Insert image description here

Such conscientious articles must be posted three times in a row

Guess you like

Origin blog.csdn.net/lllmeimei/article/details/132018134