This brief tutorial is going to show students and new users how to easily install RabbitMQ with Erlang/OTP support on Ubuntu 16.04 / 17.10 and 18.04. RabbitMQ supports Advanced Message Queuing Protocol, multiple messaging protocols delivery acknowledgment, flexible routing, and many more. Many enterprises and businesses are using this advanced open-source application to manage their mail processes. If you haven’t installed it before, the steps below are a great place to start.
Install Erlang/OTP
RabbitMQ needs Erlang/OTP to run. However, Erlang/OTP packages in standard Debian and Ubuntu also can be quite outdated. Consider installing a newer version, such as 20.1.7.1. To install the latest version of Erlang, add the repository below After adding the repository above, run the commands below to add the repository key After that, run the commands below to install Erland/OTP
Add RabbitMQ Repository to Ubuntu
To install RabbitMQ on Ubuntu 16.04 and 17.10 easily, add its repository. to do that run the commands below. At the time of this writing, the repository below didn’t support Ubuntu 18.04. After 18.04 is released, the commands below should work on it as well. After running the commands above, run the commands below to add the repository key to Ubuntu. After adding the RabbitMQ repository and key, run the commands below to install the RabbitMQ package After installing, the commands below can be used to stop, start and enable RabbitMQ to always start up when the server boots.
Enable RabbitMQ Web Console
RabbitMQ also provides and web management console for easy management. To enable it, run the commands below After that, open your browser and browse to the server name or IP address followed by port # 15672 Example: http://example.com:15672 You should see the RabbitMQ web management console to log on. the default username and password are guests. Username: guest Password: guest Log in and begin configuring your server On Ubuntu 18.04, you’ll have to manually install Erlang/OTP package from the link below: https://packages.erlang-solutions.com/erlang/ and RabbitMQ Deb packages from the link below: https://www.rabbitmq.com/install-debian.html After 18.04 is fully released, the repositories above should work and allow you to easily install. Enjoy~ You may also like the post below: