Created
May 12, 2018 18:56
-
-
Save freretuc/b6e8b749e545b89b3285b6c261eaf8e2 to your computer and use it in GitHub Desktop.
build mosquitto auth mysql plugin Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#root else sudo | |
apt-get update && apt-get -y upgrade | |
apt-get -y install mosquitto libmosquitto-dev unzip make libssl-dev libmysqlclient-dev gcc build-essential | |
wget https://github.com/jpmens/mosquitto-auth-plug/archive/master.zip | |
wget http://mosquitto.org/files/source/mosquitto-1.4.15.tar.gz | |
unzip master.zip | |
tar -zxvf mosquitto-1.4.15.tar.gz | |
cd mosquitto-auth-plug-master/ | |
cp config.mk.in config.mk | |
nano config.mk | |
MOSQUITTO_SRC = /home/ubuntu/mosquitto-1.4.15 | |
make clean | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment