当前位置:网站首页>Construction and deployment of centos8.0-emq

Construction and deployment of centos8.0-emq

2020-11-10 14:21:46 isWulongbo

1. Environmental preparation

Linux The server CentOS, see linux Version information :lsb_release -a
linux edition I am using Centos8.0, You can also choose other kernel versions according to your personal habits .
see CPU framework : command arch,lscpu, Used to confirm subsequent license Download version of
CPU framework
EMQ X Enterprise Free trial License: Download link :License download

2. EMQ Installation and deployment

Open the previous link , The download steps are as follows
MQTT Installation and downloading
choice DockerUbuntu still Centos install , The choice here is Centos
If there are other versions of EMQ, Please uninstall first : Delete the old EMQ sudo yum remove emqx emqx-edge emqx-ee
 Delete the old EMQ
Enter and unload , Next, start installing the latest version of MQTT.

  • download [emqx-ee-centos8-4.2.0-x86_64.rpm]

EMQ download

  • install [rpm -ivh emqx-ee-centos8-4.2.0-x86_64.rpm]

EMQ install

  • start-up [sudo emqx start0]

EMQ function

  • Common commands
    emqx_ctl status
    see EMQ The state of

    emqx start

    Background start EMQ X Broker;

    emqx stop

    close EMQ X Broker;

    emqx restart

    restart EMQ X Broker;

3. License download

  • Click free to get License!

 Get free license

  • Email registration account number

 Account registration

  • Download and unzip license.zip file

 decompression license

  • Switch to /etc/emqx/ Catalog

 Switch to the specified directory

  • Upload emqx.keyemqx.lic These two documents

 Replace the server's files

  • perform emqx_ctl license reload The command to update License file

 to update license
thus Centos8.0 Build deployment EMQ complete !
【 Reference documents 】EMQ The website links :EMQ Official website

版权声明
本文为[isWulongbo]所创,转载请带上原文链接,感谢