RabbitMQ installation
Make sure everything is up to date:
apt-get
...
update
...
apt-get
...
-y
...
upgrade
...
Enable RabbitMQ application repository:
echo
...
"deb
...
http://www.rabbitmq.com/debian/
...
testing
...
main"
...
>>
...
/etc/apt/sources.list
...
Add the verification key for the package:
curl
...
http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
...
|
...
sudo
...
apt-key
...
add
...
-
...
Update the sources with our new addition from above:
apt-get
...
update
...
sudo
...
apt-get
...
install
...
rabbitmq-server
Enable management interface
sudo
...
rabbitmq-plugins
...
enable
...
rabbitmq_management
Add user
rabbitmqctl
...
add_user
...
test
...
*******
rabbitmqctl
...
set_user_tags
...
test
...
administrator
...
rabbitmqctl
...
set_permissions
...
-p
...
/
...
test
...
".*"
...
".*"
...
".*"
...
Restart server
sudo service rabbitmq-server restart