标签:
环境:centos6.5 64bit rabbitmq版本:3.2.1 下载地址:http://www.rabbitmq.com/releases/rabbitmq-server/v3.2.1/rabbitmq- server-3.2.1.tar.gz 安装方式:源码编译
需要erlang执行环境,还有需要RabbitMQ一些依赖库,可以利用yum安装 yum -y install erlang yum -y install xmlto yum -y install python-simplejson yum -y install python
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.2.1/rabbitmq-server-3.2.1.tar.gz tar xzf rabbitmq-server-3.2.1.tar.gz cd rabbitmq-server-3.2.1
make TARGET_DIR=/home/user/rabbitmq3/bin SBIN_DIR=/home/user/rabbitmq3/sbin MAN_DIR=/home/user/rabbitmq3/man DOC_INSTALL_DIR=/home/user/rabbitmq3/doc install
到 ~/rabbitmq3/bin/sbin ./rabbitmq-server
rabbitmq-plugins enable rabbitmq_management 前提必须要存在 /etc/rabbitmq/目录 mkdir /etc/rabbitmq/
rabbitmq端口为5672 http://127.0.0.1:15672/登录管理界面了
标签:
原文地址:http://www.cnblogs.com/wangdaijun/p/5460392.html