搭建RabbitMQ环境(windows)

搭建RabbitMQ环境(windows)

安装erlang

  • 下载地址(直接执行exe进行安装)
  • 添加环境变量ERLANG_HOME(值为erlang安装目录)
  • 在环境变量path中添加%ERLANG_HOME%\bin

安装RabbitMQ

安装RabbitMQ-Plugins

安装步骤:

  • 打开cmd,进入rabbitmq的sbin目录
  • 执行rabbitmq-plugins enable rabbitmq_management

    如图所示:

  • 重启服务

    如图所示:

  • 访问http://127.0.0.1:15672,输入用户名/密码(guest/guest)进入管理页面。

安装报错,解决方法:

  • 因与erlang版本冲突导致如下错误,根据版本对应关系重新安装erlang。

      Could not start application logger: Logger.App.start(:normal, []) returned an error: shutdown: failed to start child: Logger.ErrorHandler
    
      ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started

猜你喜欢

转载自www.cnblogs.com/wscy/p/9257635.html