rabbitmq install script in ubuntu 12.04


rabbitmq installation

#add source list

echo "deb http://www.rabbitmq.com/debian/ testing main">>/etc/apt/sources.list.d/rabbit.list


#add key

wget http://www.rabbitmq.com/rabbitmq-signing-key-public.asc

apt-key add rabbitmq-signing-key-public.asc


#install rabbitmq

apt-get update && apt-get install -y rabbitmq-server


rabbitmq default user change
#add user, user_id is test
rabbitmqctl add_user test temp321

#set user tag
rabbitmqctl set_user_tags test administrator

#set user permission
rabbitmqctl set_permissions -p / test ".*" ".*" ".*"

#configuration file move
cp /usr/share/doc/rabbitmq-server/rabbitmq.config.example.gz /etc/rabbitmq/

#gzip
gzip -d /etc/rabbitmq/rabbitmq.config.example.gz
mv rabbitmq.config.example rabbitmq.config

 vi /etc/rabbitmq/rabbitmq.config

#user_id is test
find guest ----> replace test

#restart rabbitmq
service rabbitmq-server restart





+ Recent posts