Complete the command to check the current RabbitMQ version.
rabbitmqctl [1]The rabbitmqctl version command shows the current RabbitMQ version installed.
Complete the command to stop the RabbitMQ service before upgrade.
sudo systemctl [1] rabbitmq-serverBefore upgrading, you must stop the RabbitMQ service using sudo systemctl stop rabbitmq-server.
Fix the error in the command to update RabbitMQ package on Debian-based systems.
sudo apt-get [1] rabbitmq-serverTo upgrade RabbitMQ, you use sudo apt-get install rabbitmq-server which installs the latest version if available.
Fill both blanks to enable the RabbitMQ management plugin after upgrade.
sudo rabbitmq-plugins [1] rabbitmq_management && sudo systemctl [2] rabbitmq-server
After upgrade, enable the management plugin with rabbitmq-plugins enable rabbitmq_management and restart the service with systemctl restart rabbitmq-server.
Fill all three blanks to create a backup of RabbitMQ data before upgrade.
sudo systemctl [1] rabbitmq-server && sudo cp -r /var/lib/rabbitmq/mnesia [2] && sudo systemctl [3] rabbitmq-server
Stop RabbitMQ with stop, copy the data directory to a backup location, then start the service again.