阿里雲rabbitmq:
/usr/lib/rabbitmq/lib/rabbitmq_server-3.6.6/sbin
(2)還原: rabbitmqctl reset
(4)新增使用者: rabbitmqctl add_user root root
(5)設定許可權:rabbitmqctl set_permissions -p / root ".*" ".*" ".*"
(6)檢視使用者: rabbitmqctl list_users
(7) 修改密碼: rabbitmqctl change_password username newpassword
使用者管理:
rabbitmq-server -detached命令來重啟服務並後台執行
rabbitmqctl change_password username password
遇到的問題:
報錯:status of node rabbit@izuf6bb8jxgtqqbh1gg3raz ...
error: unable to connect to node rabbit@izuf6bb8jxgtqqbh1gg3raz: nodedown
diagnostics
**********=
attempted to contact: [rabbit@izuf6bb8jxgtqqbh1gg3raz]
rabbit@izuf6bb8jxgtqqbh1gg3raz:
* connected to epmd (port 4369) on izuf6bb8jxgtqqbh1gg3raz
* epmd reports: node 'rabbit' not running at all
no other nodes on izuf6bb8jxgtqqbh1gg3raz
* suggestion: start the node
current node details:
- node name: 'rabbitmq-cli-92@izuf6bb8jxgtqqbh1gg3raz'
- home dir: /root
- cookie hash: qc9xkultdvpikta0okm90a==
解決辦法:進入/opt/rabbitmq/sbin/rabbitmq-server start
rabbitmq 常用命令
一 一些基本的管理命令 一步啟動erlang node和rabbit應用 rabbitmq server 在後台啟動rabbit node rabbitmq server detached 關閉整個節點 包括應用 rabbitmqctl stop二 怎樣僅僅關閉應用而不關閉整個節點呢 因為rabbi...
RabbitMQ常用命令
rabbitmq常用命令 rabbitmqctl命令 1 伺服器啟動與關閉 啟動 rabbitmq server detached 關閉 rabbitmqctl stop 若單機有多個例項,則在rabbitmqctlh後加 n 指定名稱 2 外掛程式管理 開啟某個外掛程式 rabbitmq plug...
RabbitMQ 常用命令
給centos安裝epel yum 源 rpm ivh安裝erlang執行環境 yum install erlang安裝rabbitmq server rpm import rpm ivh開啟server chkconfig rabbitmq server on rabbitmqctl status...