This article is a mirror article of machine translation, please click here to jump to the original article.

View: 13292|Reply: 3

【Practical Combat】RabbitMQ installation tutorial under Windows

[Copy link]
Posted on 3/29/2018 9:35:35 AM | | | |
RabbitMQ official website: https://www.rabbitmq.com

What exactly is RabbitMQ?

RabbitMQ is a method of program-to-program communication, or can be understood as a dedicated channel dedicated to reading and writing messages. Applications communicate by reading and writing messages in RabbitMQ, and there is no need for a dedicated link between programs, but rather directly through RabbitMQ to read and write data. RabbitMQ will use an asynchronous method to distribute messages, which is a classic producer-consumer model, with multiple consumers coordinating by RabbitMQ and ensuring that each message can be executed reliably. If a message makes an error during execution, RabbitMQ will not abandon the message, but will be handled by other consumers.


Installation environment: Windows 10 Enterprise 64-bit

RabbitMQ version: rabbitmq-server-3.7.4 (latest version)

Download address for RabbitMQ Windows version: https://www.rabbitmq.com/install-windows.html

Download completes to start installation:



---------------------------
RabbitMQ Server 3.7.4 Setup
---------------------------
Erlang could not be detected.
You must install Erlang before installing RabbitMQ. Would you like the installer to open a browser window to the Erlang download site?
---------------------------
Yes(Y) No(N)   
---------------------------

The general idea is that Erlang is not detected on your local computer, and Erlang is installed before RabbitMQ is installed. Do you want the installer to open a browser window to the Erlang download site, we click "Yes",
Since RabbitMQ is written in Erlang, it is necessary to install the Erlang OTP on our computer before installing RabbitMQ.

The browser automatically opens the URL: http://www.erlang.org/downloads

We click "OTP 20.3 Windows 64-bit Binary File" to download, after the download is successful, install it! (Click Next directly to complete the installation)

Let's reopen the "rabbitmq-server-3.7.4.exe" now, install it directly to the next step!

We can see the installed programs from the Start menu, and we can see the rabbitMQ service process in the task manager, as shown in the figure below:




RabbitMQ installed by defaultThe listening port is 5672




We can start or stop the rabbitmq service via the command line (cmd must be run with administrator privileges)









Previous:.net/c# Grab Xiaomi encrypted rabbit software [with source code]
Next:【Practice】RabbitMQ installs the web management plugin
 Landlord| Posted on 3/29/2018 10:30:46 AM |
RabbitMQ installs the web management plugin
http://www.itsvse.com/thread-4631-1-1.html
(Source: Architect_Programmer)


Error: unable to perform an operation on node 'rabbit'. Pleas...
http://www.itsvse.com/thread-4632-1-1.html
(Source: Architect_Programmer)

Posted on 5/3/2023 2:51:42 PM |
docker to install rabbitmq with the following command:

 Landlord| Posted on 5/3/2023 10:46:54 PM |
Docker deploys RabbitMQ

Map the 5672 client communication port, and the 15672 web management port.

parametermeaning
hostnameSpecify the host name of rabbitmq to keep it persistent
-p 5672Client communication port
-p 15672webUI management port
-v /var/lib/rabbitmqpersistent, best used with hostname
RABBITMQ_DEFAULT_VHOSTContainer Host name
RABBITMQ_DEFAULT_USER/RABBITMQ_DEFAULT_PASSSet the account password, if not configured, the default guest/guest

Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com