To install rabbitmq-server on redhat or centos
wget -O /root/rabbitmq-server-2.8.7-1.noarch.rpm http://www.rabbitmq.com/releases/rabbitmq-server/v2.8.7/rabbitmq-server-2.8.7-1.noarch.rpm rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc yum install -y /root/rabbitmq-server-2.8.7-1.noarch.rpm chkconfig rabbitmq-server on /sbin/service rabbitmq-server start rabbitmqctl add_user rabbitrabbitmqctl set_permissions rabbit ".*" ".*" ".*"