Skip to content

bazlakausar/Getting-Started-With-RabbitMQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Getting-Started-With-RabbitMQ

Here we will download and start RabbitMQ instance from scratch.

  1. Because RabbitMQ is built on Erlang, we must first install Erlang. - Go to the Erlang downloads page and get the erlang binary file for Windows.

  2. Now download RabbitMQ installation from the RabbitMQ downloads page.

  3. The RabbitMQ command prompt should have been installed as part of the previous installation.It should be opened. To use the command, go to the RabbitMQ Server Location and type it in:

     rabbitmq-server start 
    
  4. If RabbitMQ already running we get the above message

Screenshot (310)

  • The reason you are getting the error might be because of any running instance. To know the status use the following command:

     rabbitmqctl.bat status 
    
  • If it is up, this could the reason you are getting the error

  • You can use the following command to make the server down:

     rabbitmqctl.bat stop 
    

Screenshot (309)

  • Now you can try starting the rabbitmq-server by hitting the following command:

    rabbitmq-server start 
    

Screenshot (311)

Enabling-Web-Interface

  1. Step in to RabbitMQ Server-->rabbitmq_server-3.9.8-->sbin, which is inside the program files directory in C drive.

    Screenshot (327)

  2. Use the following command to ask RabbitMQ about its running status:

    rabbitmqctl status 
    

    Screenshot (328)

  3. In order to enable the web interface of Rabbit MQ (by default it is disabled), use the following command:

    rabbitmq-plugins enable rabbitmq-management 
    

    Screenshot (329)

  4. Now let's check the running status of RabbitMQ and see if the web interface is enabled

     rabbitmqctl status 
    

    Screenshot (330)

    Here you can see in the listerner's section we have an http listener for web request on port 15672

  5. Now open a browser window:

    http://localhost:15672/

    Screenshot (331) Login with guest and you are already on the overview page with couple of tabs as shown below

    Screenshot (332)

About

Here we will download and start RabbitMQ instance from scratch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published