Last active
September 10, 2017 06:19
-
-
Save albankora/5f2458ad8dfbd726cf3e6a776bfc4af3 to your computer and use it in GitHub Desktop.
RabbitMQ installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get upgraed | |
wget http://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | |
sudo apt-key add erlang_solutions.asc | |
sudo apt-get update | |
sudo apt-get install erlang | |
sudo apt-get install erlang-nox | |
echo "deb http://www.rabbitmq.com/debian/ testing main" >> /etc/apt/sources.list | |
wget https://www.rabbitmq.com/rabbitmq-signing-key-public.asc | |
sudo apt-key add rabbitmq-signing-key-public.asc | |
sudo apt-get update | |
sudo apt-get install rabbitmq-server | |
# To automatic enable boot service: | |
sudo systemctl enable rabbitmq-server | |
# To start the service: | |
sudo systemctl start rabbitmq-server | |
# To stop the service: | |
sudo systemctl stop rabbitmq-server | |
# To restart the service: | |
sudo systemctl restart rabbitmq-server | |
# To check the status: | |
sudo systemctl status rabbitmq-server | |
# add new admin user | |
sudo rabbitmqctl add_user admin admin | |
sudo rabbitmqctl set_user_tags admin administrator | |
sudo rabbitmqctl set_permissions -p / admin ".*" ".*" ".*" | |
# web admin | |
sudo rabbitmq-plugins enable rabbitmq_management | |
http://localhost:15672/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment