mac 安装mqtt服务
1. brew install mosquitto
2. 启动服务brew services start mosquitto
3. 配置:mosquitto -c /usr/local/etc/mosquitto/mosquitto.conf
4. 停止brew services stop mosquitt
1. brew install mosquitto
2. 启动服务brew services start mosquitto
3. 配置:mosquitto -c /usr/local/etc/mosquitto/mosquitto.conf
4. 停止brew services stop mosquitt