ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
官网地址https://www.emqx.io/docs/zh/v3.0/install.html # 1. 安装 修改mqtt默认访问端口1883 ``` emqx/etc/emqx.conf listener.tcp.external = 0.0.0.0:10020 ``` 修改控制台 ``` emqx/etc/plugins/emqx_dashboard.conf dashboard.listener.http = 10021 ``` 启动 ``` emqx/bin/emqx start/stop/restart ``` 登录控制台 ``` http://36.49.91.248:10021/ ``` # 2. 配置用户名密码登录 **1. 禁止匿名访问** ``` allow_anonymous = false acl_nomatch = deny ``` **2. 启用认证插件** ``` ./emqx_ctl plugins load emqx_auth_username ``` **3. 添加用户** ``` ./emqx_ctl users add admin 123456 ``` ``` ./emqx_ctl users list admin ```