3.6.1 RabbitMQ介绍

Posted infinitecodes

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了3.6.1 RabbitMQ介绍相关的知识,希望对你有一定的参考价值。

RabbitMQ介绍

以下内容搬运自RabbitMQ官网

RabbitMQ is the most widely deployed open source message broker.

RabbitMQ是使用最广泛的开源的消息中转器

With tens of thousands of users, RabbitMQ is one of the most popular open source message brokers. From T-Mobile to

它拥有数以万计的用户,RabbitMQ是最受欢迎的开源消息中转器之一。从T-Moblie到Runtastic。

Runtastic, RabbitMQ is used worldwide at small startups and large enterprises.

RabbitMQ在全球范围内被用于小型初创企业和大型企业。

RabbitMQ is lightweight and easy to deploy on premises and in the cloud. It supports multiple messaging protocols.

RabbitMQ是轻量级的,并且易于在本地和云中部署。它支持多种通讯协议。

RabbitMQ can be deployed in distributed and federated configurations to meet high-scale, high-availability requirements.

RabbitMQ可以被部署在分布式和集成式配置中,以满足大规模,高可用的需求。

RabbitMQ runs on many operating systems and cloud environments, and provides a wide range of developer tools for most

RabbitMQ可以运行在多种操作系统和云环境上,并为最流行的语言提供多种开发工具

popular languages.

Installation

博主自己使用的是windows,所以这里只介绍windows的安装。

Installing on Windows

Overview

This guide covers RabbitMQ installation on Windows. It focuses on the two recommended installation options:

本指南介绍在windows上安装RabbitMQ。主要关注两个推荐的安装选项:

  • Using Chocolatey    #使用巧克力力
  • Using the official installer    #使用官方安装包

The guide also covers some Windows-specific aspects of managing the service.

本指南还涵盖了一些管理服务上的windows特定的方面。

Using Chocolatey

RabbitMQ packagese are distributed via Chocolatey. New releases can take a while (sometimes weeks) to get through

RabbitMQ包通过Chocolatey分发。新版本可能需要一段时间(几周)才能通过审批,

approvals, so this option is not guaranteed to provide the latest release. It does, however, manage the required

因此这个选项不保证提供最新版本。但它确实管理所需的依赖项。

dependencies.

To install RabbitMQ, run the following command from the command line or from PowerShell:

要安装RabbitMQ,从命令行或PowerShell运行以下命令:

choco install rabbitmq

For most users and use cases, Chocolatey is the optimal installation method.

对于大多数用户和使用案例来说,Chocolatey是最好的安装方法。

Using the Installer(我用的这个)

The official RabbitMQ installer is produced for every RabbitMQ releases. It requires a dependency

官方RabbitMQ安装包是为每个RabbitMQ版本制作的。它需要一个依赖件。

Dependencies

RabbitMQ requires a 64-bit supported version of Erlang for Windows to be installed. Erlang releases include a Windows

RabbitMQ需要安装64位支持的Windows Erlang版本。Erlang发行包包含一个windows安装程序。

installer. Erlang Solutions provide binary 64-bit builds of Erlang as well.

Erlang解决方案还提供Erlang的二进制64位构建。

Important: the Erlang installer must be run using an administrative account otherwise a registry key expected by the

重要:必须使用管理账户运行Erlang安装程序,否则RabbitMQ安装程序所需的注册表项将不存在。

RabbitMQ installer will not be present.

Once a supported version of Erlang is installed, download the RabbitMQ installer and run it. It installs RabbitMQ as a

一旦安装了可支持的Erlang版本,就下载RabbitMQ安装包并运行它。它将安装RabbitMQ为windows服务并使用默认配置启动。

Windows service and starts it using the default configuration.

Run RabbitMQ Service运行RabbitMQ服务

Customise RabbitMQ Environment Variables自定义RabbitMQ环境变量

The service will run fine using its default settings. It is possible to customise the RabbitMQ environment or edit configuration.

该服务将使用默认设置正常运行。可以自定义RabbitMQ环境或编辑配置。

Important: after setting environment variables, it is necessary to reinstall the service.

重要:环境变量定义完毕后,必须重新安装该服务

Run RabbitMQ运行RabbitMQ

The RabbitMQ service starts automatically. You can stop/reinstall/start the RabbitMQ service from the Start Menu.

RabbitMQ服务将自动启动。你可以从开始菜单中停止/重新安装/启动RabbitMQ服务。

以上是关于3.6.1 RabbitMQ介绍的主要内容,如果未能解决你的问题,请参考以下文章

Linux 下安装RabbitMQ 3.6.1

Centos7 安装RabbitMQ 3.6.1

centos/rhel 6.5下rabbitmq安装(最简单方便的方式)

RabbitMQ核心功能介绍

RabbitMQ核心功能介绍

rabbitmq安装