Linux · MQTT

Build Mosquitto on Centos

Step 1 yum install gcc-c++ yum install cmake yum install openssl-devel //mosquitto are supported by default openssl Step 2 wget http://mosquitto.org/files/source/mosquitto-1.4.7.tar.gz tar -xzvf mosquitto-1.4.7.tar.gz cd mosquitto-1.4.7 Step 3: wget http://c-ares.haxx.se/download/c-ares-1.10.0.tar.gz tar xvf c-ares-1.10.0.tar.gz cd c-ares-1.10.0 ./configure make sudo make install Step 4 yum install libuuid-devel Step 5 wget https://github.com/warmcat/libwebsockets/archive/v1.3-chrome37-firefox30.tar.gz tar zxvf v1.3-chrome37-firefox30.tar.gz cd libwebsockets-1.3-chrome37-firefox30 mkdir… Continue reading Build Mosquitto on Centos