# easy_mqtt_script **Repository Path**: jeiry/easy_mqtt_script ## Basic Information - **Project Name**: easy_mqtt_script - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2021-12-02 - **Last Updated**: 2025-10-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # easy_mqtt_script 可在raspberrypi os 或 Ubuntu 18/20 上安装 github源 ``` sudo wget https://raw.githubusercontent.com/jeiry/easy_mqtt_script/main/easy_mqtt_script.sh chmod -R 777 easy_mqtt_script.sh ./easy_mqtt_script.sh ``` 国内源 ``` sudo wget https://gitee.com/jeiry/easy_mqtt_script/raw/master/easy_mqtt_script.sh chmod -R 777 easy_mqtt_script.sh ./easy_mqtt_script.sh ``` 改密码 ``` sudo mosquitto_passwd -c pwd test cd /etc/mosquitto sudo vi mosquitto.conf ``` 在最下面加上 ``` allow_anonymous false password_file /etc/mosquitto/pwd ``` 最后重启