E hoʻouka iā EMQX ma CentOS7 e kūkulu i ka lawelawe MQTT

Kākauʻōlelo

Pūnaewele kūhelu Palapala Huahana MQTT

Hana i ka hoʻonoho

ʻO ka mea mua, pono mākou e hoʻouka i kekahi mau papahana hilinaʻi, a laila pono mākou e hoʻohui i ka ʻike kumu YUM o EMQX. Ma hope o ka hoʻohui ʻana, hiki iā mākou ke hoʻouka iā EMQX. E nānā i ka laʻana ma lalo no ka hana.

            yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://repos.emqx.io/emqx-ce/redhat/centos/7/emqx-ce.repo
yum -y install emqx
        

E hoʻomaka i ka lawelawe a hoʻololi i ka ʻōlelo huna a ka luna

            emqx start
emqx_ctl admins passwd admin my_password
        

Hōʻoia i ka hoʻonoho ʻana

Ma hope o ka pau ʻana o ke kau ʻana, ʻo ka IP.00 paʻa paʻa ka 0.0.0.0. Hoʻohana mākou i ka polokalamu kele pūnaewele e kiʻi pololei i ka port 18083 o ka server IP e wehe i ka ʻaoʻao hoʻokele pūnaewele. Inā hiki ke wehe maʻamau, ua kūleʻa ka hoʻonohonoho. A laila, ʻeʻe mākou me ka luna hoʻomalu moʻokāki a me ka ʻōlelo huna my_password a mākou e hoʻonohonoho wale ai. Ma hope o ke kūleʻa ʻana o ka ʻeʻe, hiki iā mākou ke ʻike i nā kūlana a pau o ka kikowaena