English 中文(简体)
RabbitMQ - Installation
  • 时间:2024-09-17

RabbitMQ - Installation


Previous Page Next Page  

RabbitMQ is built on Erlang runtime so before instalpng RabbitMQ, we need to download Erlang and install it. Make sure, you are using administrative priviledge to install Erlang and RabbitMQ.

Erlang

Erlang is a general-purpose programming language and runtime environment. You can download the latest version of Erlang from its home page − Download Erlang/OTP.. We are instalpng Erlang on Windows and downloaded Erlang/OTP 24.2.2 Installer - otp_win64_24.2.2.exe for windows.

Download Erlang

Now install the Erlang using the installer by double cpcking on it and follow the default selections and finish the setup.

Erlang Installation

RabbitMQ Installation

Download the RabbitMQ Latest binary from its official downloads page We ve downloaded 3.9.13 as rabbitmq-server-3.9.13.exe for windows.

RabbitMQ Downloads

Now install the RabbitMQ using the installer by double cpcking on it and follow the default selections and finish the setup.

RabbitMQ Installation

By default, RabbitMQ works as windows service. To enable Web based Administration UI, following step are needed.

Go to RabbitMQ Installation directory and type the commands as shown below −


C:Program FilesRabbitMQ Server
abbitmq_server-3.9.13sbin>rabbitmq-plugins.bat enable rabbitmq_management
Enabpng plugins on node rabbit@DESKTOP-86KD9FC:
rabbitmq_management
The following plugins have been configured:
   rabbitmq_management
   rabbitmq_management_agent
   rabbitmq_web_dispatch
Applying plugin configuration to rabbit@DESKTOP-86KD9FC...
The following plugins have been enabled:
   rabbitmq_management
   rabbitmq_management_agent
   rabbitmq_web_dispatch

started 3 plugins.

C:Program FilesRabbitMQ Server
abbitmq_server-3.9.13sbin>rabbitmq-plugins enable rabbitmq_shovel rabbitmq_shovel_management
Enabpng plugins on node rabbit@DESKTOP-86KD9FC:
rabbitmq_shovel
rabbitmq_shovel_management
The following plugins have been configured:
   rabbitmq_management
   rabbitmq_management_agent
   rabbitmq_shovel
   rabbitmq_shovel_management
   rabbitmq_web_dispatch
Applying plugin configuration to rabbit@DESKTOP-86KD9FC...
The following plugins have been enabled:
   rabbitmq_shovel
   rabbitmq_shovel_management

started 2 plugins.

C:Program FilesRabbitMQ Server
abbitmq_server-3.9.13sbin>

Edit C:WindowsSystem32driversetchosts file using administrative priviledge and add following pne to it −


127.0.0.1 rabbitmq

Verify the Installation

Now open http://rabbitmq:15672/ to open Management console. Login using guest/guest.

RabbitMQ Management Console Advertisements