本文鏈接:
本文基于慕課網(wǎng)-阿神老師的課程-RocketMQ核心技術(shù)精講與高并發(fā)抗壓實(shí)戰(zhàn),僅作為個(gè)人的學(xué)習(xí)
記錄
1.關(guān)閉應(yīng)用
rabbitmqctl stop_app
2.啟動(dòng)應(yīng)用
rabbitmqctl start_app
3.查看節(jié)點(diǎn)狀態(tài)
rabbitmqctl status
4.添加用戶
rabbitmqctl add_user username password
5.列出所有用戶
rabbitmqctl list_users
6.刪除用戶
rabbitmqctl delete_user username
7.清除用戶權(quán)限
rabbitmqctl%20%20clear_permissions%20-o%20vhostpath%20username
8.列出用戶權(quán)限
rabbitmqctl%20list_user_permsissions%20username
9.修改密碼
rabbitmqctl%20change_password%20username%20new%20password
10.設(shè)置用戶權(quán)限
rabbitmqctl%20set_permissions%20-p%20vhostpath%20username%20".*"%20".*"%20".*"
11.創(chuàng)建虛擬主機(jī)
rabbitmqctl add_vhost vhostpath
12.列出所有虛擬主機(jī)
rabbitmqctl list_vhosts
13.列出虛擬主機(jī)上所有權(quán)限
rabbitmqctl list_permissions -p vhostpath
14.刪除虛擬主機(jī)
rabbitmqctl delete_vhost vhostpath
15.查看所有隊(duì)列信息
rabbitmqctl list_queues
16.清除隊(duì)列里的消息
rabbitmqctl -p vhostpath purge_queue blue
1.修改集群節(jié)點(diǎn)的存儲(chǔ)形式
rabbitmqctl change_cluster_node_type disc |ram
2.忘記節(jié)點(diǎn)(摘除節(jié)點(diǎn))
rabbitmqctl forget_cluster_node [--offline]
3.修改節(jié)點(diǎn)名稱
上一個(gè)教程:linux中的man命令總結(jié)
下一個(gè)教程:LINUX中各種查看命令的區(qū)別