码迷,mamicode.com
首页 > 其他好文 > 详细

CentOS 6.5中配置RabbitMQ

时间:2014-07-02 10:32:45      阅读:240      评论:0      收藏:0      [点我收藏+]

标签:blog   http   使用   os   art   for   

先配置erlang依赖环境

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

安装erlang 16B03

rpm --import http://binaries.erlang-solutions.com/debian/erlang_solutions.asc  
wget -O /etc/yum.repos.d/erlang_solutions.repo  http://binaries.erlang-solutions.com/rpm/centos/erlang_solutions.repo  
wget http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt  
rpm -i rpmforge-release-0.5.2-2.el6.rf.*.rpm  
yum update  
yum update --skip-broken  
yum install erlang

这时候可以输入erl看看erlang环境是否配置成功

安装RabbitMQ 3.3.4并开启web管理

wget -c http://www.rabbitmq.com/releases/rabbitmq-server/v3.3.4/rabbitmq-server-3.3.4-1.noarch.rpm
yum install rabbitmq-server-3.3.4-1.noarch.rpm
rabbitmq-plugins enable rabbitmq_management
service rabbitmq-server start

添加admin用户,不知为什么自带的guest无法登陆

rabbitmqctl add_user admin admin
rabbitmqctl set_user_tags admin administrator

配置自启动

/etc/rc.d/rc.local中加入
service rabbitmq-server start

使用ip:15672 登陆即可

 

参考文章:

http://blog.csdn.net/leekwen/article/details/23333659

 

CentOS 6.5中配置RabbitMQ,布布扣,bubuko.com

CentOS 6.5中配置RabbitMQ

标签:blog   http   使用   os   art   for   

原文地址:http://www.cnblogs.com/chinaboard/p/3819527.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!