MQTT mosquitto安装文档

wget http://mosquitto.org/files/source/mosquitto-1.4.14.tar.gz
tar -zxvf mosquitto-1.4.14
cd mosquitto-1.4.14
yum install openssl curl-devel expat-devel gettext-devel openssl-devel zlib-devel c-ares.x86_64 c-ares-devel.x86_64 libuuid-devel
make 
make install
useradd mosquitto
ln -s /usr/local/lib/libmosquitto.so.1 /usr/lib64/
  • 配置文件在:/etc/mosquitto/mosquitto.conf
  • 启动参数:mosquitto -c /etc/mosquitto/mosquitto.conf
# MQTT 

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×