💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
官网地址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 ```