安装服务端和客户端

wget -O /etc/yum.repos.d/mqtt.repo download.opensuse.org/repositories/home:/oojah:/mqtt/CentOS_CentOS-6/home:oojah:mqtt.repo
yum update
yum install mosquitto mosquitto-clients
chkconfig mosquitto on
service mosquitto start

本条目发布于[2014年10月14日](https://c4ys.com/archives/424 "21:59")。属于[Linux](Tools(https://c4ys.com/archives/category/tools)分类,被贴了 [CentOS](mqtt(https://c4ys.com/archives/tag/mqtt) 标签。