Skip to content

Instantly share code, notes, and snippets.

@saydulk saydulk/
Created Jan 28, 2019

What would you like to do?
Install RabbitMQ on Ubuntu 16.04
sudo apt-get update
sudo apt-get upgrade
cd ~
sudo dpkg -i esl-erlang_20.1-1\~ubuntu\~xenial_amd64.deb
echo "deb xenial main" | sudo tee /etc/apt/sources.list.d/bintray.rabbitmq.list
wget -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install rabbitmq-server
sudo systemctl start rabbitmq-server.service
sudo systemctl restart rabbitmq-server.service
sudo systemctl reload rabbitmq-server.service
sudo rabbitmqctl add_user masum 01722gausia
sudo rabbitmqctl set_user_tags masum administrator
sudo rabbitmqctl set_permissions -p / masum ".*" ".*" ".*"
sudo rabbitmq-plugins enable rabbitmq_management
sudo chown -R rabbitmq:rabbitmq /var/lib/rabbitmq/
wget http://localhost:15672/cli/rabbitmqadmin
chmod +x rabbitmqadmin
sudo mv rabbitmqadmin /usr/local/sbin
# now visit your http://[your-vultr-server-IP]:15672/
rabbitmqctl status | grep rabbit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.