TAG | rabbitmq messaging erlang
4
Installing RabbitMQ Management Plugin on Ubuntu
1 Comment · Posted by James Carr in Uncategorized
Recently I installed the RabbitMQ management plugin and ran into a couple problems so i thought I’d document how to fix this. The cause seems to be rooted in the fact that the erlang-base package uses an older version of erlang that has methods the plugin uses missing. The solution (at least for the time being) is to uninstall rabbitmq and erlang and reinstall it by hand.
First, install libncurses5-dev as it is needed to build erlang. Then go fetch the latest version of OTP from the erlang website. Unpack it and run
./configure && make && sudo make install
Once that is installed, go download the latest rabbitmq and install it. You can do this either by using agner or by building it yourself. Here’s the command I use to build it myself:
make && sudo make install SBIN_DIR=/usr/local/sbin MAN_DIR=/usr/local/man/ TARGET_DIR=/usr/local/lib/rabbitmq
Now download the files located on the plugin page and copy them to /usr/local/lib/rabbitmq/plugins. Start up that rabbitmq-server and if all goes well you’ll see no errors and you can access the admin console at http://server-name:55672/mgmt/. Have fun!
