Windows installation RABBITMQ

Source: Internet
Author: User
Tags rabbitmq

RABBITMQ is an Erlang-based message queue that supports mainstream development languages (Java, C #, Python, and so on).

Environment: Windows Server (x64)

1. Download and install

    • Http://www.erlang.org/downloads Download and install Erlang Runtime Environment (OTP)
    • http://www.rabbitmq.com/download.html downloading and installing RABBITMQ server

Installation is complete, in the Start menu, the application, find the service start, service shutdown, service uninstall, service installation and other shortcuts, as well as data, logs, run and other directories.

Click Service Start, RabbitMQ service started, you can see the "RabbitMQ" service in Service Manager (SERVICES.MSC), the service listens on port 5672 by default.

2. Service Configuration

Windows

Configuration file default location: "%appdata%\rabbitmq\" For example: "C:\Users\Administrator\AppData\Roaming\RabbitMQ\"

Linux

Configuration file default location "/etc/rabbitmq/"

According to the official website documentation, there are 3 different types of configurations.

    • environment variable (environment variables), which defines the port, the file storage location, and the name. Linux is generally in "/etc/rabbitmq/rabbitmq-env.conf/rabbitmq-env-conf.bat", windows in: "%appdata%\  rabbitmq\rabbitmq-env-conf.bat", the file does not exist by default. modifying environment variables requires reinstalling the RABBITMQ service
    • Configuration file (rabbitmq.config), which defines a set of properties such as permissions, restrictions, clusters, and plug-ins for the queue service.
    • Runtime parameters, policy configuration (runtime parameters and policies), configuration of run parameters through RABBITMQCTL commands, HTTP APIs, Web UI, and more.

3. Open RABBITMQ Web page monitoring and management (Web UI)

By default, the Web UI service is turned off and needs to be started by itself. Locate the program installation run directory. \sbin\ ", such as: Windows" C:\Program files\rabbitmq server\rabbitmq_server-3.6.6\sbin ", open the Management (management) plugin via the" cmd "Command Window ( Span style= "color: #ff00ff;" >rabbitmq-plugins enable Rabbitmq_management ).

 c:\users\administrator>cd C:\Program files\rabbitmq server\rabbitmq_ server-3.6.6  \sbin  C:\Program files\ RabbitMQ server\rabbitmq_server -3.6 . 6  \sbin>plugins enable rabbitmq_management  The following plugins has been enabled: Mochiweb webmachine rabbitmq_web_dispatch amqp_client rabbitmq_management_agent rabbitmq_managementapplying Plugin Co Nfiguration to [email protected]_win_104 ... Started  6   plugins. C:\Program files\rabbitmq server\rabbitmq_server -6  \sbin> 

Displays the above information, stating that the Web UI is enabled and that the site can be accessed through "http://localhost:15672". Default Administrator Account "Guest", Password: "Guest".

Windows installation RABBITMQ

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.