Up and running RabbitMQ
- Install Erlang
#Adding Repository # wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb # sudo dpkg -i erlang-solutions_1.0_all.deb #Install Erlang # sudo apt-get update # sudo apt-get install erlang #Check # erl
#Add the Apt repository to your Apt source list directory (/etc/apt/sources.list.d) # echo "deb https://dl.bintray.com/rabbitmq/debian xenial main" | sudo tee /etc/apt/sources.list.d/bintray.rabbitmq.list #Add public key to your trusted key list # wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add - #Install the rabbitmq-server package # sudo apt-get update # sudo apt-get install rabbitmq-server
# sudo nano /etc/hosts
# sudo nano /etc/rebbitmq/rabbitmq.conf
# sudo rabbitmqctl add_user admin N1qtEHcVpUdDzmZv # sudo rabbitmqctl set_user_tags admin administrator # sudo rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"
# sudo rabbitmqctl status
# sudo systemctl start rabbitmq-server.service # sudo systemctl enable rabbitmq-server.service
# sudo rabbitmq-plugins enable rabbitmq_management # sudo chown -R rabbitmq:rabbitmq /var/lib/rabbitmq/
# sudo rabbitmqctl add_user mqadmin mqadminpassword # sudo rabbitmqctl set_user_tags mqadmin administrator # sudo rabbitmqctl set_permissions -p / mqadmin ".*" ".*" ".*"
More:
- This is RabbitMQ github project Microservice with RabbitMQ
- This is my learning working with RabbitMQ ASP.NET Core Microservices
Comments (
)
Link to this page:
//www.vb-net.com/RabbitMQ/Index.htm
|