rabbitMQ linux安裝

1,下載 erlang (http://www.rabbitmq.com/releases/erlang/)html

  wget http://www.rabbitmq.com/releases/erlang/erlang-18.2-1.el6.x86_64.rpmlinux

2,安裝 erlang瀏覽器

  rpm -ihv http://www.rabbitmq.com/releases/erlang/erlang-18.2-1.el6.x86_64.rpm spa

3,下載 rabbitMQ server (http://www.rabbitmq.com/install-rpm.html) (根據本身的系統下載)插件

  

 

 4,安裝 rest

  

    rpm --import https://www.rabbitmq.com/rabbitmq-release-signing-key.asc

    rpm -ihv rabbitmq-server-3.6.10-1.el6.noarch.rpmcode

  報錯:server

      error: Failed dependencies:htm

    socat is needed by rabbitmq-server-3.6.10-1.el6.noarchblog

      解決: 

  1. wget no-cache http://www.convirture.com/repos/definitions/rhel/6.x/convirt.repo -O /etc/yum.repos.d/convirt.repo
  2. yum makecache
  3. yum install socat
  4. 再次安裝 rpm -ihv rabbitmq-server-3.6.10-1.el6.noarch.rpm

5,安裝管理插件

  rabbitmq-plugins enable rabbitmq_management

6,重啓 service rabbitmq-server restart

7,去瀏覽器訪問 http://192.168.71.133:15672/   (前面是我linux的ip 後面是端口)

 

  8 ,用系統默認的guest帳號  結果登陸失敗  由於權限的問題把, 我新建了一個用戶  kevin 密碼是 111111  ,而後給了超級管理員的權限 (參考http://www.cnblogs.com/spicy/p/7017586.html)

    

 

  9 , 再次登陸 成功

相關文章
相關標籤/搜索