linux centos6.5 安装 rabbitmq 服务

linux centos6.5 安装 rabbitmq 服务

一下请切换到root用户: 

su root

1、安装预环境      

yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel

2、安装erlang

yum install erlang

查看版本: erl -version

3、安装rabbitmq

下载文件: wget http://www.rabbitmq.com/releases/rabbitmq-server/3.5.1/rabbitmq-server-3.5.1-1.noarch.rpm
安装文件: rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc          yum install rabbitmq-server-3.5.1-1.noarch.rpm 
开机启动项: chkconfig rabbitmq-server on
启动服务: /etc/rabbitmq rabbitmq-server start
成功启动如下:
              RabbitMQ 3.5.1. Copyright (C) 2007-2014 GoPivotal, Inc.
  ##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/
  ##  ##
  ##########  Logs: /var/log/rabbitmq/[email protected]
  ######  ##        /var/log/rabbitmq/[email protected]
  ##########
              Starting broker... completed with 6 plugins.

4、启动管理界面

localhost:15672 启动登录界面后,输入 guest/guest  完毕






你可能感兴趣的:(服务器Linux)