问题描述
简介:有没有办法通过 ubuntu 包安装 rabbitmq-plugins?
Brief:Is there a way to install rabbitmq-plugins via a ubuntu package?
详情:
我的 ubuntu 系统中的 rabbitmq 运行正常,现在我正在尝试通过管理插件监控正在发生的事情.我正在按照 rabbitmq.com/management.html 说明进行操作,但无法执行
I have rabbitmq running ok in my ubuntu system, and now I'm trying to monitor what's going on via the management plugin. I'm following rabbitmq.com/management.html instructions, but can't execute
rabbitmq-plugins enable rabbitmq_management
因为我的系统没有安装rabbitmq-plugins.
because my system does not have rabbitmq-plugins installed.
它是 Ubuntu 1110,并且带有作为软件包安装的 rabbitmq(aptitude install rabbitmq-server librabbitmq-dev).配置和服务器运行良好(安装的版本为 2.5.0).
It's Ubuntu 1110, and came with rabbitmq installed as a package (aptitude install rabbitmq-server librabbitmq-dev). The config and the server are running fine (the installed version is 2.5.0).
认为插件会通过安装sudo aptitude install rabbitmq-plugins-common"来安装,但这样做不会安装rabbitmq-plugins.
Thought that the plugin would get installed by installing "sudo aptitude install rabbitmq-plugins-common", but doing that does not install rabbitmq-plugins.
有安装插件的包吗?如果可能的话,我想避免必须清除运行正常的 rabbitmq 服务器,然后通过从源代码下载 + 构建重新安装它,这一切只是为了获取插件.
Is there a package that will install the plugin? I'd like to avoid if possible having to purge the rabbitmq server that is running ok, and then reinstall it via a download + build from source, all just to get the plugin.
谢谢.
推荐答案
rabbitmq-plugins 脚本(以及将插件与服务器版本捆绑在一起的整个概念)仅在 RabbitMQ 2.7.0 中引入.如果您想继续使用 2.5.0,那么您应该从 http://www 下载必要的插件二进制文件.rabbitmq.com/releases/plugins/,将它们放入/usr/lib/rabbitmq/lib/rabbitmq_server-2.5.0/plugins/并重新启动.
The rabbitmq-plugins script (and the whole concept of bundling plugins with the server release) was only introduced in RabbitMQ 2.7.0. If you want to keep using 2.5.0 then you should download the necessary plugin binaries from http://www.rabbitmq.com/releases/plugins/, drop them in /usr/lib/rabbitmq/lib/rabbitmq_server-2.5.0/plugins/ and restart.
(管理所需的二进制文件是 amqp_client、mochiweb、webmachine、rabbitmq_mochiweb、rabbitmq_management_agent 和 rabbitmq_management.)
(The necessary binaries for management are amqp_client, mochiweb, webmachine, rabbitmq_mochiweb, rabbitmq_management_agent and rabbitmq_management.)
如果这听起来很痛苦(好吧,这就是我们在 2.7.0 中更改它的原因!),您应该考虑升级到 2.7.1.您不需要从源代码构建 - 我们提供 .deb 包并有一个 apt 存储库 - 请参阅 http://www.rabbitmq.com/install-debian.html
If that sounds like a pain (well, this is why we changed it in 2.7.0!), you should consider upgrading to 2.7.1. You don't need to build from source - we make .deb packages available and have an apt repository - see http://www.rabbitmq.com/install-debian.html
这篇关于如何安装rabbitmq管理插件(rabbitmq-plugins)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!