1. First install this http://www.erlang.org/downloads
2. Install the http://www.rabbitmq.com/install-windows.html again
3. Add a System environment variable
Name:rabbitmq_base
Value:c:\rabbitmqs\data (default is in C:\Users\YYp\AppData\Roaming\RabbitMQ)
The above three steps are as follows:
4. Create a new file in the C:\RabbitMQs\Data directory Rabbitmq.config
and enter the content as follows:
[
{rabbit, [{tcp_listeners, [28010]}]}
].
The goal is to modify the default port of 5672 to 28010 (custom), and the configuration for RABBITMQ is modified and added in this file,
Refer to Rabbitmq.config.example under C:\RabbitMQs\RabbitMQ server\rabbitmq_server-3.6.1\etc directory
5. Run cmd with administrator privileges
6. CD C:\RabbitMQs\RabbitMQ Server\rabbitmq_server-3.6.1\sbin
7. Run Rabbitmq-service.bat Remove
8. Run Set Rabbitmq_base=c:\rabbitmqs\data
9. Run Rabbitmq-service.bat Install
To view the window service:
To view the Rabbitmq_base directory:
10. Run Rabbitmq-plugins.bat Enable Rabbitmq_management
11. Start the RABBITMQ service
12. Open IE, enter http://localhost:15672, the following page:
Installation is successful!
RabbitMQ 3.6 Installation