Home assistant: mosquitto mqtt服务器搭建 基于centOS7 docker
拉取mosquitto镜像dockerpulleclipse-mosquitto:latest在本地创建目录mkdir/home/mosquittocd/home/mosquittomkdirconfigmkdirdatamkdirlog创建配置文件vi/config/mosquitto.conf#配置文件中添加下述内容persistencetruepersistence_location/mos