首页 > Linux > centos下yum安装RabbitMQ
2013
06-06

centos下yum安装RabbitMQ

系统:centos 6.2

需要的软件:epel-release-5-4.noarch.rpm(fedora源)
1.安装前准备
wget http://download.slogra.com/epel-release-5-4.noarch.rpm
rpm -ivh epel-release-5-4.noarch.rpm
wget -P /etc/yum.repos.d/ http://repos.fedorapeople.org/repos/peter/erlang/epel-erlang.repo
yum clean all
yum -y install erlang

2.安装rabbitmq
rpm –import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
wget http://www.rabbitmq.com/releases/rabbitmq-server/v2.8.5/rabbitmq-server-2.8.5-1.noarch.rpm
rpm -ivh rabbitmq-server-2.8.5-1.noarch.rpm

3.启动rabbitmq并设置开机启动
chkconfig rabbitmq-server on
/sbin/service rabbitmq-server start

4.检查rabbitmq是否启动
ps aux|grep rabbitmq

最后编辑:
作者:sunny5156
喜欢技术....