First knowledge of RabbitMQ Series II: download and install, rabbitmq Series II
I. Erlang Installation
Because RabbitMQ is developed in the Erlang language, the Erlang environment must be installed first.
1) download Erlang
Download the official website: http://www.erlang.org/download.html.
Practical installation version: otp_win64_00000.exe. (Install the latest version)
2) install Erlang
Run Exe and follow the prompts to install it one by one.
3) Configure Erlang
My local installation directory: D: \ Program Files \ erl9.0
Add D: \ Program Files \ erl9.0 \ bin to the environment variable Path (separated by a semicolon)
4) detect Erlang
Enter the erl command in the command line to check whether Erlang is successfully installed.
Ii. RabbitMQ Installation
The version of RabbitMQ is V3.6.10.
1) download RabbitMQ
Official Website: http://www.rabbitmq.com/download.html.
Download installation package: rabbitmq-server-3.6.10.exe.
2) install RabbitMQ
Run the Exe file and install it all the way to Next.
3) Check the installation.
Iii. Start RabbitMQ
1) Start the management plug-in
Run RabbitMQ Command Prompt (sbin dir ). (Because I have run well, but no, the following is a picture theft, but the test is correct)
Enter rabbitmq-plugins enable rabbitmq_management to start the management plug-in. 2) Start the Management Service
Run rabbitmq-service.bat start. Now the service is ready. You can use the web interface to view some items.
Iv. Web Interface Management
Enter http: // localhost: 15672 in the browser.
Username: guest, password: guest.
(The initial default account name and password are all guest. You can use the command line to create other users. For details, refer to Baidu)
We can see that the channel, exchange, queue, binding relationship, and so on mentioned above can be detected in real time, which is very powerful and convenient.
Download the following chapters. In the next section, we will use a small example to illustrate how to use this tool.