Install the RabbitMQ Server service
1. Download the abbitMq service file at http://www.rabbitmq.com/install-windows.html, as shown below:
2. After the download is completed, double-click the downloaded exe file to install, and click "run", as shown in the following figure:
3. Click Next to proceed to the next step, as shown in the following figure:
4. According to your needs, select the program installation directory, as shown in the following figure:
5. Wait for the installation process to complete, as shown in the following figure:
6. Click Next to proceed to the next step, as shown in the following figure:
7. Click Finish to complete the installation of RabbitMQ Server, as shown below:
8. Install the RabbitMQ web page plug-in. In the cmd control panel, go to the rabbitmq_server-3.7.3\ sbin folder under the installation directory of RabbitMQ (D:\ Program Files\ RabbitMQServer\ rabbitmq_server-3.7.3\ sbin), and type: rabbitmq-plugins.bat enable rabbitmq_management. The installation is successful as shown below:
9. Start creating a user: re-enter the rabbitmq_server-3.7.3\ sbin folder under the installation directory of RabbitMQ in the cmd control panel (D:\ Program Files\ RabbitMQServer\ rabbitmq_server-3.7.3\ sbin), and type: rabbitmqctl.bat add_user username password to successfully add the user, as shown below:
10. Enter rabbitmqctl.bat set_user_tags dj123 administrator as the administrator, as shown in the following figure:
11. Set permission input: rabbitmqctl.bat set_permissions-p / dj123 ". *", as shown below:
12. Stop / start the RabbitMQ service: net stop RabbitMQ & & net start RabbitMQ
13. Verify that RabbitMQ Server is installed successfully, and enter: http://localhost:15672, in the browser as shown in the following figure:
14. Log in with the user you just created to see if you can log in successfully, as shown in the following figure:
At this point, RabbitMQ has been installed successfully!