“This is the 27th day of my participation in the First Challenge 2022. For details: First Challenge 2022”

👨🎓 Author: Bug Bacteria

✏️ blog: CSDN, Nuggets, etc

💌 public account: Magic House of the Circle of the Apes

🚫 special statement: original is not easy, reprint please attach the original source link and this article statement, thank you for your cooperation.

🙏 Copyright notice: part of the text or pictures in the article may come from the Internet or Baidu Encyclopedia, if there is infringement, please contact bug bacteria processing.

Hi, family. I’m the bug. Here I go again. Today we are going to talk about something, OK, and we will continue the Series of articles on SpringBoot. Hope to help more beginners quickly start!

In the process of reviewing articles, if you think the articles are helpful to you at all, please don’t be too mean with your likes and bravely light up the articles 👍. Your likes (collect ⭐️+ pay attention to 👨 port + message board) are the best encouragement and support for bugs on my creation path. Time does not abandon 🏃🏻♀️, creation stopped 💕, refueling 🏻

One, foreword

In order to demonstrate the integration of Springboot with RabbitMq, I will first show you how Windows can build a RabbitMq client locally, which will be required to use its server in the future. What RabbitMq is, we won’t introduce it here, but the next installment will show you how to build and use it.

I will show you how to set up the RabbitMq server step by step in windows10. Just follow my instructions step by step.

My local environment:

Windows10

. .

The RabbitMQ Server is developed using the Erlang language, so you will need to install the Erlang language before installing RabbitMQ. I have tried to install the server directly without Erlang installation environment, and there is an error message that cannot be installed, so let’s proceed with the installation step sequence.

Deploy RabbitMq locally

Download the Erlang package at www.erlang.org/downloads

Step 1: Download the Erlang package

Go to the Official Erlang website and select [Download Windows Installer] from the drop-down list to Download the 64-bit Erlang installation package. Now basically all are 64 bit machine bar, have no companion or 32 bit bar, if really have, then download 32 bit.

Here’s the program:

Next comes the package installation steps for Erlang.

Step 2: Install Erlang

1. Double-click and click Next all the way.

2. Select an installation path.

3, direct install.

4, install directly after the installation

5. This proves that it has been installed

Step 3: Configure the Erlang environment variable

6, after the installation to configure the system environment variables.

A, choose My computer -> Right-click -> Properties -> Advanced System Settings

B. Advanced System Settings -> Environment Variables

C. Create a variable named ERLANG_HOME. The value is the installation path you just installed. Then click OK.

D. Edit system variable path;

Add %ERLANG_HOME%\bin to the end of path

E, Windows +R, enter CMD, then enter erl, see the version number indicates that Erlang is successfully installed.

. .

Erlang is now installed and configured. The next step is to install the RabbitMq client.

Step 4: Download the RabbitMq installation package

1. Download and install RabbitMQ

The RabbitMQ Server download address: www.rabbitmq.com/download.ht…

Let’s just download the latest version.

There is one other thing you should be aware of if you are choosing not the latest version: there is a version compatibility between Erlang and RabbitMq, as shown on the official website. I am using erlang24.2.1 +RabbitMq3.9.13, so far there is no compatibility problem, you can rest assured to follow the bug bug installation tutorial.

The following is a screenshot of some compatible versions:

After downloading it, there was this:

2. Double-click Rabbitmq-server-3.9.13.exe to install rabbitmq-server-3.9.13.exe in the same way as Erlang.

You don’t have to select it, it’s all default, and then you go next.

3. Select your installation path

4, directly click install will appear the installation interface, wait a few seconds to complete the installation.

5. Click Finish to complete the RabbitMq Server installation.

The following is a screenshot of the installed folder:

6. After RabbitMQ is installed, install rabbitmq-plugins.

Go to the sbin directory in the RabbitMQ installation directory and type CMD and press Enter.

Rabbitmqctl status rabbitmqctl status rabbitmqctl status rabbitmqctl status rabbitmqctl status rabbitmqctl status rabbitmqctl status Rabbitmqctl status Rabbitmqctl status Rabbitmqctl status Rabbitmqctl status Rabbitmqctl status RabbitMQctl status RabbitMQctl status RabbitMQctl status RabbitMQctl status RabbitMQctl status RabbitMQctl status RabbitMQ

8. Go to the sbin directory again and open the sbin directory. Double-click rabbitmq-server.bat.

9, then you will see a small black box pop up, and then a few seconds directly flash away, do not worry about this, yes, it means that the customer service has been successfully started.

Here’s a quick snapshot of being single for 20 years, which can be turned off in a flash.

10. Then you go directly to http://localhost:15672; This URL is the server access connection exposed when you install RabbitMq locally, and you can access it directly from your browser.

The default password is guest/guest

Extension: 15672: console port number 5672: application access port number

At this point, Windows10 has successfully set up a local RabbitMq server. Win10 install RabbitMq server server, after all, in the use of the project configuration file will involve the configuration of your server connection and other configuration. You can watch my article for a practical demonstration of RabbitMq. Springboot series 17: A Demonstration of RabbitMq integration

. .

Ok, that’s all for this episode. If you want to learn more, you can check out my top tips. Accumulate a little weird knowledge every day, and over time, you can become a person you respect. Well, I’ll see you next time

Three, the past popular recommendation

  • Springboot series (17) : RabbitMq integration

  • Springboot series (16) : Integrated easyPOI implementation of Excel import and export (preparation)

  • Springboot series (16) : Integrated EasyPOI to achieve Excel import and export

  • Springboot series (16) : integrated easyPOI to achieve a single Word template export page

  • Springboot series (16) : Integrated easyPOI word template image export

  • Springboot series (16) : integrated easyPOI to achieve excel multi-sheet import and export

  • Springboot series (15) : AOP implements custom annotations for business logging! Have you ever played?

  • Springboot series (14) : Redis Zero-based teaching, you deserve it!

  • Springboot Series (thirteen) : How to project integrated Swagger online interface documentation, will you?

  • Springboot series (12) : How to code to send email reminders, have you written?

  • . .

If you want to learn more, you can pay attention to the bug bug column “SpringBoot Zero-based Introduction”, from scratch, from zero to one! Hope I can help you.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

☘️ Be who you want to be, there is no time limit, you can start whenever you want,

🍀 You can change from now on, you can also stay the same, this thing, there are no rules to speak of, you can live the most wonderful yourself.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

💌 If this article is helpful to you, please leave a like! (# ^. ^ #);

💝 if you like the article shared by bug fungus, please give bug fungus a point of concern! The danjun ‘ᴗ, you guys will have a cameo appearance with you.

💗 if you have any questions about the article, please also leave a message at the end of the article or add a group [QQ communication group :708072830];

💞 In view of the limited personal experience, all views and technical research points, if you have any objection, please directly reply to participate in the discussion (do not post offensive comments, thank you);

💕 copyright notice: original is not easy, reprint please attach the original source link and this article statement, all rights reserved, piracy will investigate!! thank you