參考資料

https://blog.csdn.net/tjcyjd/article/details/77150893

https://blog.csdn.net/u014308482/article/details/53994401

https://blog.yowko.com/2017/05/install-rabbitmq-on-windows7-windows10-windows2016.html

https://www.jianshu.com/u/9f9214a11adb

http://jmesnil.net/stomp-websocket/doc/

我這邊是用 rabbitmq server 3.6.6 + erlan win64 18.0的組合

首先安裝Erlang https://www.erlang.org/

再安裝rabbit mq https://www.rabbitmq.com/

裝好後應該已經幫你建好一個叫ERLANG_HOME的環境變數

輸入 rabbitmqctl status 查看 mq狀態

如果出現

******************************
ERLANG_HOME not set correctly.
******************************

Please either set ERLANG_HOME to point to your Erlang installation or place the
RabbitMQ server distribution in the Erlang lib folder.

可能是環境變數的問題

可以echo "!ERLANG_HOME! 來看 (可是應該不會有這個問題才是)

修改Path 環境變數

加上 ;%ERLANG_HOME%\bin;%RABBITMQ_SERVER%\sbin

rabbitmqctl status 就可以看到相關信息

如果出現nodedown

依上面的文章

根据提示,应该是Erlang的cookie出现问题,解决办法如下:
Erlang会生成两个cookie文件:C:\Windows\.erlang.cookie 及 C:\用户\你的用户名\.erlang.cookie。检查两个文件内容是否一致,不一致用其中一个替换另一个即可。

確認rabbitmq 服務自動啟動

安裝rabbitmq管理插件

rabbitmq-plugins enable rabbitmq_management

安裝好後可以用guest/guest登錄

因為我這邊是裝一台新的 可以匯出原有的設定再匯入

因為是用stomp over websocket,要安裝 stomp plugin

http://www.rabbitmq.com/web-stomp.html

http://stomp.github.io/

https://github.com/sockjs/sockjs-client

rabbitmq-plugins enable rabbitmq_web_stomp

預設STOMP plugin會監聴15674 port ,然後用guest/guest登入,可是

guest/guest只能在localhost下進行,故建議加個新帳號

完成安裝後重新啟動服務

登入後台

[個人紀錄] RabbitMQ安裝的更多相关文章

  1. [個人紀錄] postgre dump出table 再用psql還原

    --dump tablepg_dump --host #server --port 5432 --username #username --format plain --ignore-version ...

  2. [個人紀錄] regular 搜集

    判斷有理數 ^(0|[1-9]([0-9]{1,5})?)((\.(([0-9]{1,5})?[1-9])))?$

  3. [個人紀錄] git 疑難排解

    1.git pull 時發生錯誤,要拉下來的檔案內含有檔名太長的檔案 ans: https://stackoverflow.com/questions/22575662/filename-too-lo ...

  4. [個人紀錄] git 設定

    -- git history git config --global alias.history=log --graph --all --pretty=format:'%C(bold blue)%H% ...

  5. [個人紀錄] windows form , usercontrol design 模式不見

    windows form 跟 usercontrol 都變成cs檔 無法點擊進入設計模式 <Compile Include="Form1.cs"/> <Compi ...

  6. [個人紀錄] WindowsLiveWriter 插入代碼跳出錯誤

    跳出找不到設定檔Can’t load configruaration fromC:\Users\…\AppData\Roaming\Windows Live Writer\WindowsLiveWri ...

  7. 鸟哥之安裝 CentOS7.x

    http://linux.vbird.org/linux_basic/0157installcentos7.php since 2002/01/01 新手建議 開始閱讀之前 網站導覽 Linux 基礎 ...

  8. 安裝 Rails 開發環境

    安裝 Rails 開發環境 Give someone a program, you frustrate them for a day; teach them how to program, you f ...

  9. win2003的IIS無法使用,又一次安裝提示找不到iisadmin.mfl文件

    我的系統是win2003 繁體版 sp2,現在iis無法使用,我同事的也是,也不知道是不是跟在網域中有關係,因為我用虛擬機的繁體系統win2003 R2版iis能够正常使用,不過曾经那台電腦也是在網域 ...

随机推荐

  1. elasticsearch: 创建mapping

    elasticsearch版本: 6.5.4 创建mapping PUT http://192.168.2.136:9200/index_text/_mapping/text/ { "dyn ...

  2. 安装教程-VMware 12 安装企业级 CentOS 7.6

    企业级 CentOS 7.6 系统的安装 1.实验描述 在虚拟机中,手动安装 CentOS 7.6 操作系统,为学习 Linux 提供平台,因此,有的参数有些差异,请勿较真. 2.实验环境 物理机系统 ...

  3. android SDK安装Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml出错 解决方案

    更换代理服务器:http://mirrors.neusoft.edu.cn 端口:80 reload 解决 若以上不成功在hosts文件中添加以下内容 #Google主页203.208.46.146 ...

  4. python批量修改文件名(以修改图片名为例)

    #coding=utf-8import sys, string, os, shutil #输入目录名和前缀名,重命名后的名称结构类似prefix_0001 def RenameFiles(srcdir ...

  5. javascript专题系列--尾调用和尾递归

    最近在看<冴羽的博客>,讲真,确实受益匪浅,已经看了javascript 深入系列和专题系列的大部分文章,可是现在才想起来做笔记.所以虽然很多以前面试被问得一脸懵逼的问题都被“一语惊醒梦中 ...

  6. 【Mybatis】多个参数如何写xml和mapper

    1:#{0},#{1}  不写parameterType 2:注解 @Param("id")String id 3:Map   parameterType="hashma ...

  7. idea中使用python环境

    idea中使用python环境,需要下载相关的python sdk 可以添加选择自己的python环境

  8. Python搭建HTTP服务

    我们平时可能会需要HTTP服务,本机搭建一个服务器来完成有些过于繁琐,这时就可以用python帮我们搭建一个HTTP服务器,省时高效. python 2.x 输入命令:python -m Simple ...

  9. nginx配置文件结构及location块语法规则

    一. nginx配置文件结构介绍 二. location语法规则: 用法示例: location [=|~|~*|^~] /uri/ { … } # 讲解如下: 1.  = 开头表示精确匹配 2.  ...

  10. [LeetCode] 204. Count Primes 质数的个数

    Count the number of prime numbers less than a non-negative number, n. Example: Input: 10 Output: 4 E ...