Skip to main content

RabbitMQ Installation Guide

This guide provides all the key information and getting-started instructions after a successful RabbitMQ installation via DeploySage-CLI.

Service Management

Manage the RabbitMQ service using standard systemctl commands.

# Start the service
sudo systemctl start rabbitmq-server

# Stop the service
sudo systemctl stop rabbitmq-server

# Restart the service
sudo systemctl restart rabbitmq-server

# Check the service status
sudo systemctl status rabbitmq-server

Management and CLI Tools

Use rabbitmqctl for command-line management and rabbitmq-plugins to manage plugins.

# Check the node status
sudo rabbitmqctl status

# List all queues
sudo rabbitmqctl list_queues

# List all users
sudo rabbitmqctl list_users

# Enable the management plugin for a web UI
sudo rabbitmq-plugins enable rabbitmq_management

Access and Security

Once the management plugin is enabled, you can access the web UI.

# Create a new admin user
sudo rabbitmqctl add_user myadmin STRONG_PASSWORD

# Give the new user administrator tags
sudo rabbitmqctl set_user_tags myadmin administrator

# Grant full permissions to the new user
sudo rabbitmqctl set_permissions -p / myadmin ".*" ".*" ".*"
ItemValue
Web UIhttp://YOUR_SERVER_IP:15672
Default Userguest
Default Passwordguest