RabbitMQ安装
centos 32位
下载地址:http://www.rabbitmq.com/install-rpm.html
安装步骤:
wget -O epel-release-5-4.noarch.rpm download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -Uvh epel-release-5-4.noarch.rpm
yum install erlang
wget -O rabbitmq-server-2.7.1-1.noarch.rpm http://www.rabbitmq.com/releases/rabbitmq-server/v2.7.1/rabbitmq-server-2.7.1-1.noarch.rpm
rpm -ivh rabbitmq-server-2.7.1-1.noarch.rpm
启动RabbitMQ服务
chkconfig rabbitmq-server on
将服务作为守护进程随系统启动。
开始服务
使用 /sbin/service rabbitmq-server stop/start/etc.
rabbitmqctl stop :to stop the server. Alternatively, just terminate the Erlang process.
rabbitmqctl status :to check whether it is running.
查看进程:
ps -ef|grep erlang
图形界面管理
rabbitmq-plugins 插件
命令: rabbitmq-plugins enable rabbitmq_management
The web UI is located at: http://server-name:55672/mgmt/
The HTTP API and its documentation are both located at: http://server-name:55672/api/
Download rabbitmqadmin at: http://server-name:55672/cli/
centos 32位
下载地址:http://www.rabbitmq.com/install-rpm.html
安装步骤:
wget -O epel-release-5-4.noarch.rpm download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -Uvh epel-release-5-4.noarch.rpm
yum install erlang
wget -O rabbitmq-server-2.7.1-1.noarch.rpm http://www.rabbitmq.com/releases/rabbitmq-server/v2.7.1/rabbitmq-server-2.7.1-1.noarch.rpm
rpm -ivh rabbitmq-server-2.7.1-1.noarch.rpm
启动RabbitMQ服务
chkconfig rabbitmq-server on
将服务作为守护进程随系统启动。
开始服务
使用 /sbin/service rabbitmq-server stop/start/etc.
rabbitmqctl stop :to stop the server. Alternatively, just terminate the Erlang process.
rabbitmqctl status :to check whether it is running.
查看进程:
ps -ef|grep erlang
图形界面管理
rabbitmq-plugins 插件
命令: rabbitmq-plugins enable rabbitmq_management
The web UI is located at: http://server-name:55672/mgmt/
The HTTP API and its documentation are both located at: http://server-name:55672/api/
Download rabbitmqadmin at: http://server-name:55672/cli/