Mosquitto在redhat中的安装
环境:redhat 6 在root前提下,在 /etc/yum.repos.d/下新建mosquitto.repo文件 gedit /etc/yum.repos.d/mosquitto.repo 然后,从官网上找到RHEL6的文件内容: [home_oojah_mqtt] name=mqtt (RedHat_RHEL-6) type=rpm-md baseurl=http://download.opensuse.org/repositories/home:/oojah:/mqtt/RedHat_RHEL-6/ gpgcheck=1 gpgkey=http://download.opensuse.org/repositories/home:/oojah:/mqtt/RedHat_RHEL-6/repodata/repomd.xml.key enabled=1 写入mosquitto.repo中。 之后就可以yum了, yum install mosquitto mosquitto-clients 接着一路选y。 安装完毕。 文章来源: Mosquitto在redhat中的安装