如何在 PCF Dev 中安装或管理 RabbitMQ 插件

How to install or manage RabbitMQ plugins in PCF Dev

我新安装并启动了 pcf dev 实例(具有当前日期的最新版本之一 - 0.30.0)。

我已经为我的一个空间添加了 rabbitmq 作为服务(使用命令 cf create-service p-rabbitmq standard my_rabbitmq)。

web应用界面没有rabbitmq管理dashboard,可能是因为我用的是pcf dev,不是cloud pcf实例

是否可以使用命令行工具或其他方式管理(以及如何)rabbitmq 插件?

p.s。我有 Windows 10 OS.

  1. 使用 cf dev ssh 以 vcap 用户身份通过​​ SSH 访问虚拟机。

  2. 感谢https://github.com/pivotal-cf/pcfdev/issues/67

You can log in as root and run the following:

root@agent-id-pcfdev-0:~# export PATH=/var/vcap/packages/erlang/bin:/var/vcap/packages/rabbitmq-server/bin:$PATH

root@agent-id-pcfdev-0:~# rabbitmq-plugins enable

  1. 以 root 身份登录 https://askubuntu.com/questions/91598/how-do-i-login-as-root:

Be aware that the root account is not active by default.

You will need to do:

sudo passwd root

Then go ahead to set password. Use the root user using

su root