RabbitMQ - Installation



RabbitMQ is built on Erlang runtime so before installing 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 installing Erlang on Windows and downloaded Erlang/OTP 28.0.2 Installer - otp_win64_28.0.2.exe for windows.

Download Erlang

Now install the Erlang using the installer by double clicking 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 4.1.2 as rabbitmq-server-4.1.2.zip for windows and extracted to .

RabbitMQ Downloads

Set the environment variables

We've set following environment variables −

  • ERLANG_HOME − C:\Program Files\Erlang OTP

  • RabbitMQ_SERVER − C:\Program Files\RabbitMQ Server\rabbitmq_server-4.1.2

Go to RabbitMQ Installation directory and run rabbitmq-server.bat to start the rabbitmq node−

C:\Program Files\RabbitMQ Server\rabbitmq_server-4.1.2\sbin>rabbitmq-server.bat
2025-08-02 14:00:52.802000+05:30 [warning] <0.143.0> Using RABBITMQ_ADVANCED_CONFIG_FILE: c:/Users/mahes/AppData/Roaming/RabbitMQ/advanced.config
2025-08-02 14:01:05.121000+05:30 [notice] <0.45.0> Application syslog exited with reason: stopped
2025-08-02 14:01:05.121000+05:30 [notice] <0.209.0> Logging: switching to configured handler(s); following messages may not be visible in this log output

  ##  ##      RabbitMQ 4.1.2
  ##  ##
  ##########  Copyright (c) 2007-2025 Broadcom Inc and/or its subsidiaries
  ######  ##
  ##########  Licensed under the MPL 2.0. Website: https://rabbitmq.com

  Erlang:      28.0.2 [jit]
  TLS Library: OpenSSL - OpenSSL 3.1.0 14 Mar 2023
  Release series support status: see https://www.rabbitmq.com/release-information

  Doc guides:  https://www.rabbitmq.com/docs
  Support:     https://www.rabbitmq.com/docs/contact
  Tutorials:   https://www.rabbitmq.com/tutorials
  Monitoring:  https://www.rabbitmq.com/docs/monitoring
  Upgrading:   https://www.rabbitmq.com/docs/upgrade

  Logs: <stdout>
        c:/Users/mahes/AppData/Roaming/RabbitMQ/log/rabbit@Home.log

  Config file(s): c:/Users/mahes/AppData/Roaming/RabbitMQ/advanced.config

  Starting broker... completed with 5 plugins.

Edit C:\Windows\System32\drivers\etc\hosts file using administrative priviledge and add following line to it −

127.0.0.1 rabbitmq

Check the status of RabbitMQ Server using rabbitmqctl.bat status command

C:\Program Files\RabbitMQ Server\rabbitmq_server-4.1.2\sbin>rabbitmqctl.bat status
Status of node rabbit@Home ...
[]
Runtime

OS PID: 9800
OS: Windows
Uptime (seconds): 152
Is under maintenance?: false
RabbitMQ version: 4.1.2
RabbitMQ release series support status: see https://www.rabbitmq.com/release-information
Node name: rabbit@Home
Erlang configuration: Erlang/OTP 28 [erts-16.0.2] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns]
Crypto library: OpenSSL 3.1.0 14 Mar 2023
Erlang processes: 437 used, 1048576 limit
Scheduler run queue: 1
Cluster heartbeat timeout (net_ticktime): 60

Plugins

Enabled plugin file: c:/Users/mahes/AppData/Roaming/RabbitMQ/enabled_plugins
Enabled plugins:

 * rabbitmq_shovel_management
 * rabbitmq_management
 * rabbitmq_management_agent
 * rabbitmq_web_dispatch
 * cowboy
 * oauth2_client
 * jose
 * rabbitmq_shovel
 * amqp_client
 * amqp10_client
 * gun

Data directory

Node data directory: c:/Users/mahes/AppData/Roaming/RabbitMQ/db/rabbit@Home-mnesia
Raft data directory: c:/Users/mahes/AppData/Roaming/RabbitMQ/db/rabbit@Home-mnesia/quorum/rabbit@Home

Config files

 * c:/Users/mahes/AppData/Roaming/RabbitMQ/advanced.config

Log file(s)

 * 
 * c:/Users/mahes/AppData/Roaming/RabbitMQ/log/rabbit@Home.log

Alarms

(none)

Tags

(none)

Memory

Total memory used: 0.082 gb
Calculation strategy: rss
Memory high watermark setting: 0.6 of available memory, computed to: 10.0838 gb

code: 0.0234 gb (28.6 %)
other_system: 0.022 gb (26.8 %)
other_proc: 0.0199 gb (24.25 %)
allocated_unused: 0.0086 gb (10.48 %)
reserved_unallocated: 0.0021 gb (2.56 %)
other_ets: 0.0019 gb (2.28 %)
metrics: 0.0016 gb (1.96 %)
atom: 0.0011 gb (1.31 %)
plugins: 0.0007 gb (0.89 %)
msg_index: 0.0003 gb (0.36 %)
binary: 0.0001 gb (0.17 %)
mgmt_db: 0.0001 gb (0.17 %)
mnesia: 0.0001 gb (0.09 %)
metadata_store: 0.0 gb (0.05 %)
quorum_ets: 0.0 gb (0.01 %)
metadata_store_ets: 0.0 gb (0.01 %)
connection_other: 0.0 gb (0.0 %)
quorum_queue_procs: 0.0 gb (0.0 %)
quorum_queue_dlx_procs: 0.0 gb (0.0 %)
stream_queue_procs: 0.0 gb (0.0 %)
stream_queue_replica_reader_procs: 0.0 gb (0.0 %)
connection_readers: 0.0 gb (0.0 %)
connection_writers: 0.0 gb (0.0 %)
connection_channels: 0.0 gb (0.0 %)
queue_procs: 0.0 gb (0.0 %)
stream_queue_coordinator_procs: 0.0 gb (0.0 %)

File Descriptors

Total: 0, limit: 65439

Free Disk Space

Low free disk space watermark: 0.05 gb
Free disk space: 199.7743 gb

Totals

Connection count: 0
Queue count: 0
Virtual host count: 1

Listeners

Interface: [::], port: 15672, protocol: http, purpose: HTTP API
Interface: [::], port: 25672, protocol: clustering, purpose: inter-node and CLI tool communication
Interface: [::], port: 5672, protocol: amqp, purpose: AMQP 0-9-1 and AMQP 1.0
Interface: 0.0.0.0, port: 5672, protocol: amqp, purpose: AMQP 0-9-1 and AMQP 1.0

Verify the Installation

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

RabbitMQ Management Console
Advertisements