RabbitMQ Installation on Ubuntu
-
Get the DEB package and add it to sources.list
echo "deb http://www.rabbitmq.com/debian/ testing main" > /etc/apt/sources.list.d/rabbitmq.list
-
Downloading key file
wget http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
-
Adding key to apt-get
sudo apt-key add rabbitmq-signing-key-public.asc
-
Updating packages
apt-get update
-
Installing RabbitMQ Server
apt-get install rabbitmq-server -y
-
Starting RabbitMQ Server
service rabbitmq-server start
-
Enabling Plugins of RabbitMQ
rabbitmq-plugins enable rabbitmq_management
-
Adding User: Make sure you change the word "password" to the actual password you want to login with
rabbitmqctl add_user admin password rabbitmqctl set_user_tags admin administrator
-
Setting Permissions to added user
rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"
-
Deleting guest user
rabbitmqctl delete_user guest
-
Restarting RabbitMQ Server
service rabbitmq-server restart
Usage:
The default port for the admin interface is 15672. You can use the management interface to finish off your configuration such as adding exchanges, queues, users and vhosts.
Written by Vidyasagar Gudapati
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rabbitmq installation
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#