既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上物联网嵌入式知识点,真正体系化!
由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、电子书籍、讲解视频,并且后续会持续更新
=================================================================
服务绑定的IP地址
#bind_address
服务绑定的端口号
#port 1883
允许的最大连接数,-1表示没有限制
#max_connections -1
cafile:CA证书文件
capath:CA证书目录
certfile:PEM证书文件
keyfile:PEM密钥文件
#cafile
#capath
#certfile
#keyfile
必须提供证书以保证数据安全性
#require_certificate false
若require_certificate值为true,use_identity_as_username也必须为true
#use_identity_as_username false
启用PSK(Pre-shared-key)支持
#psk_hint
SSL/TSL加密算法,可以使用“openssl ciphers”命令获取
as the output of that command.
#ciphers
=================================================================
Persistence
=================================================================
消息自动保存的间隔时间
#autosave_interval 1800
消息自动保存功能的开关
#autosave_on_changes false
持久化功能的开关
persistence true
持久化DB文件
persistence_file mosquitto.db
持久化DB文件目录
persistence_location /var/lib/mosquitto/