Rabbitmq 如何安装插件
安装 rabbitmq_delayed_message_exchange 和 amqp_client
查看本地插件#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# rabbitmq-plugins list
Configured: E = explicitly enabled; e = implicitly enabled
| Status: * = running on rabbit@7f153b30f57e
|/
[ ] rabbitmq_amqp1_0 3.6.14
[ ] rabbitmq_auth_backend_ldap 3.6.14
[ ] rabbitmq_auth_mechanism_ssl 3.6.14
[ ] rabbitmq_consistent_hash_exchange 3.6.14
[ ] rabbitmq_event_exchange 3.6.14
[ ] rabbitmq_federation 3.6.14
[ ] rabbitmq_federation_management 3.6.14
[ ] rabbitmq_jms_topic_exchange 3.6.14
[E*] rabbitmq_management 3.6.14
[e*] rabbitmq_management_agent 3.6.14
[ ] rabbitmq_management_visualiser 3.6.14
[ ] rabbitmq_mqtt 3.6.14
[ ] rabbitmq_random_exchange 3.6.14
[ ] rabbitmq_recent_history_exchange 3.6.14
[ ] rabbitmq_sharding 3.6.14
[ ] rabbitmq_shovel 3.6.14
[ ] rabbitmq_shovel_management 3.6.14
[ ] rabbitmq_stomp 3.6.14
[ ] rabbitmq_top 3.6.14
[ ] rabbitmq_tracing 3.6.14
[ ] rabbitmq_trust_store 3.6.14
[e*] rabbitmq_web_dispatch 3.6.14
[ ] rabbitmq_web_mqtt 3.6.14
[ ] rabbitmq_web_mqtt_examples 3.6.14
[ ] rabbitmq_web_stomp 3.6.14
[ ] rabbitmq_web_stomp_examples 3.6.14
[ ] sockjs 0.3.4
|
安装 amqp_client 插件#
1
2
3
4
|
# rabbitmq-plugins enable amqp_client
Plugin configuration unchanged.
Applying plugin configuration to rabbit@7f153b30f57e... nothing to do.
|
安装 rabbitmq_delayed_message_exchange 插件#
1
2
3
|
# rabbitmq-plugins enable rabbitmq_delayed_message_exchange
Error: The following plugins could not be found:
rabbitmq_delayed_message_exchange
|
通过上述命令发现插件 rabbitmq_delayed_meaage_exchange 没有安装,需要下载安装
下载 rabbitmq_delayed_meaage_exchange#
下载地址:http://www.rabbitmq.com/community-plugins.html
1
2
|
# linux:
wget https://dl.bintray.com/rabbitmq/community-plugins/3.6.x/rabbitmq_delayed_message_exchange/rabbitmq_delayed_message_exchange-20171215-3.6.x.zip
|
1
2
|
# unzip解压到
/usr/lib/rabbitmq/lib/rabbitmq_server-version/plugins/rabbitmq_delayed_message_exchange-20171201-3.7.x.ez
|
重新安装插件#
1
2
3
|
# rabbitmq-plugins enable rabbitmq_delayed_message_exchange
Error: The following plugins could not be found:
rabbitmq_delayed_message_exchange
|
参考文档
1
|
链接:https://blog.csdn.net/youjin/article/details/82586888
|