安装: 链接1 链接2 服务器: mosquitto -c /etc/mosquitto/mosquitto.conf 订阅者: mosquitto_sub -v -t "主题" 发布者: mosquitto_pub -t "主题" -m "内容"