Thanks to visit codestin.com
Credit goes to github.com

Skip to content

roboshop-devops-project/rabbitmq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

RabbitMQ Installation

RabbitMQ is a messaging Queue which is used by some components of the applications.

Manual Installation

  1. Erlang is a dependency which is needed for RabbitMQ.
# yum install https://github.com/rabbitmq/erlang-rpm/releases/download/v23.2.6/erlang-23.2.6-1.el7.x86_64.rpm -y 
  1. Setup YUM repositories for RabbitMQ.
# curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | sudo bash
  1. Install RabbitMQ
# yum install rabbitmq-server -y 
  1. Start RabbitMQ
# systemctl enable rabbitmq-server 
# systemctl start rabbitmq-server 

RabbitMQ comes with a default username / password as guest/guest. But this user cannot be used to connect. Hence we need to create one user for the application.

  1. Create application user
# rabbitmqctl add_user roboshop roboshop123
# rabbitmqctl set_user_tags roboshop administrator
# rabbitmqctl set_permissions -p / roboshop ".*" ".*" ".*"

Ref link : https://www.rabbitmq.com/rabbitmqctl.8.html#User_Management

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published