RABBITMQ relies on Erlang, so install Erlang First, then install RABBITMQ;
Download RABBITMQ,: Rabbitmq-server-3.5.6.exe and Erlang,:otp_win64_18.1.exe
Install Erlang First, double-click the installation file for Erlang, and then configure the environment variables:
Erlang_home=d:\program files\erl7.1
Append to Path=%erlang_home%\bin;
To verify that Erlang is installed successfully, open the CMD Command window, enter the bin path of Erlang, enter the Erl command, and if prompted by the following, the Erlang installation succeeds:
D:\Program Files\erl7.1\bin>erl
Eshell V7.1 (abort with ^g)
Install RABBITMQ, double-click the installation file, and after installation, set environment variables:
Rabbitmq_server=d:\program FILES\RABBITMQ server\rabbitmq_server-3.5.6
Append to Path=%rabbitmq_server%\sbin;
To verify that the RABBITMQ is installed successfully, in the CMD command window, enter:
C:\windows\system32>rabbitmq-service***************Service Control Usage*************** Rabbitmq-service help - display this help Rabbitmq-service install - install the rabbitmq service rabbitmq-service remove - remove the rabbitmq service The following actions can also be accomplished by using windows services management console (services.msc): Rabbitmq-service start - start the rabbitmq service Rabbitmq-service stop - stop the rabbitmq service rabbitmq-service disable - disable the rabbitmq service rabbitmq-service enable - enable the rabbitmq service
If an explanation of the above command appears, the installation is successful;
7. Install the service, open the cmd form, enter the D:\Program files\rabbitmq server\rabbitmq_server-3.5.6\sbin path, and then execute Rabbitmq-service install, Prompt for installation success
8. Start:d:\program files\RabbitMQ server\rabbitmq_server-3. 5. 6\ sbin> Rabbitmq-service STArt
9. Prompt to start successfully, then install Web Management plug-in, execute command as follows:D:\Program FILES\RABBITMQ server\rabbitmq_server-3.5. 6\sbin>rabbitmq-plugins Enable Rabbitmq_management
10. The above prompts, indicating that the installation is successful, can be tested by accessing http://localhost:15672, the default login account is: Guest, the password is: Guest.
Note: Win under the installation will have a pit, that is, open the cmd command window, you need to open a command prompt (administrator) or will be an error!!!
Win7 under Installation RABBITMQ