0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

VerneMQ の使い方

Last updated at Posted at 2025-03-14

Ubuntu 24.10 でテストしました。

インストール

こちらからダウンロード
Download VerneMQ

sudo dpkg -i vernemq-1.13.0.jammy.x86_64.deb

設定

/etc/vernemq/vernemq.conf
(省略)
#allow_anonymous = off
allow_anonymous = on
(省略)

起動

sudo vernemq console
Eshell V13.2.2.1  (abort with ^G)
(VerneMQ@127.0.0.1)1>

起動の確認

$ sudo vernemq ping
pong

接続テスト

サブスクライブ

mosquitto_sub -h localhost -t "test/topic"

パブリッシュ

mosquitto_pub -h localhost -t "test/topic" -m "Hello, VerneMQ!"

停止方法

(VerneMQ@127.0.0.1)1> q().
ok
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?