MQTT - インストール - Fedora


 クラウディア


1. 概要
2. dnf
3. インストール
4. Broker 起動・停止

1. 概要

 「Fedora」で調べてみます。  以下、「Fedora 41」で。

2. dnf

 「dnf search」コマンドで確認。

$ dnf search mqtt | grep x86_64
 aws-c-mqtt.x86_64: C99 implementation of the MQTT 3.1.1 and MQTT 5 specifications.
 aws-c-mqtt-devel.x86_64: C99 implementation of the MQTT 3.1.1 and MQTT 5 specifications.
 aws-c-mqtt-libs.x86_64: C99 implementation of the MQTT 3.1.1 and MQTT 5 specifications.
 baresip-mqtt.x86_64: MQTT management module for baresip
 collectd-mqtt.x86_64: MQTT plugin for collectd
 golang-github-eclipse-paho-mqtt.x86_64: Eclipse Paho MQTT Go client
 mqttcli.x86_64: Simple MQTT CLI pub/sub client
 qt6-qtmqtt.x86_64: Qt6 - Mqtt module
 qt6-qtmqtt-devel.x86_64: Development files for qt6-qtmqtt
 qt6-qtmqtt-examples.x86_64: Programming examples for qt6-qtmqtt
 syslog-ng-mqtt.x86_64: mqtt support for syslog-ng
 erlang-mqtree.x86_64: Index tree for MQTT topic filters
 mosquitto.x86_64: Open Source MQTT v5/v3.1.x Broker
 paho-c.x86_64: MQTT C Client
 paho-c-devel.x86_64: MQTT C Client development kit
 paho-cpp.x86_64: Eclipse Paho MQTT C++ Client Library

3. インストール

 とりあえず、「Broker」と「CLI Client」をインストールしてみます。  「root」ユーザ権限で。

dnf install -y mosquitto mqttcli

4. Broker 起動・停止

 「Broker」の操作になります。  以下、いずれも「root」ユーザ権限で。  システム起動時の開始を定義するには。

systemctl enable mosquitto
 起動。

service mosquitto start
 停止。

service mosquitto stop

audiobook.jp
AbemaTV 無料体験
【usus ウズウズ】
葬送のフリーレン Prime Video
薬屋の独り言
TikTok Shop 【リピート用プログラム】
JETBOY
ネットオークションの相場、統計、価格比較といえばオークファン
ベルリッツ
サウンドハウス
EaseUS
EMEET 1
それがだいじWi-Fi
5G CONNECT
ハイスピードプラン
U-NEXT
アフィリエイトのアクセストレード
Amazonギフトカード
earthcar(アースカー)
損保との違い
健康サポート特集