emqx安装秘籍.txt


立即下载 满目山河
2025-01-04
DEFAULT username NULL 9eef 8d96 var password 6ecad3 char c29
2 KB

//从http://www.emqtt.com下载对应版本的deb安装包,然后启动安装sudo dpkg -i emqx-ubuntu16.04-v3.1-beta.2_amd64.deb//启动emqxsudo service eqmx start//访问网页,修改密码http://www.zjiot.com:18083/用户名 admin密码 ******插件->emqx_auth_mysql ->配置->高级配置->username,userpass都选中create database mqtt;use mqtt;CREATE TABLE `mqtt_user` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `username` varchar(100) DEFAULT NULL, `password` varchar(100) DEFAULT NULL, `salt` varchar(20) DEFAULT NULL, `is_superuser` tinyint(1) DEFAULT 0, `created` datetime DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `mqtt_username` (`username`)) ENGINE=MyISAM DEFAULT CHARSET=utf8;//123456对应的sha256为8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92insert into mqtt_user (username,password) values ("zjiot","8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92");insert into mqtt_user (username,password) values ("admin","8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92");CREATE TABLE `mqtt_acl` ( `id` int(11) unsi

DEFAULT/username/NULL/9eef/8d96/var/password/6ecad3/char/c29/ DEFAULT/username/NULL/9eef/8d96/var/password/6ecad3/char/c29/
-1 条回复
登录 后才能参与评论
-->