To install RabbitMQ on CentOS Stream 10, follow these steps:
Step 1 : Ensure your system is up to date with the latest packages:
Step 2 : Import the necessary GPG keys for RabbitMQ and Erlang:
Step 3 : Create a repository file for RabbitMQ and Erlang:
Add the following content to the file:
Save and close the file.
(*) The latest available repositories are for RHEL 9 but are compatible with RHEL/CentOS Stream 10. This guide will be updated when RabbitMQ provides official support for RHEL 10.
Step 4 : Refresh the repositories to include RabbitMQ and Erlang:
Step 5 : Install the required dependencies:
Step 6 : Install RabbitMQ and Erlang using the following command:
Step 7 : Start the RabbitMQ service:
Step 8 : Ensure RabbitMQ starts automatically on system boot:
Step 9 : Verify that RabbitMQ is running:
Step 10 : Enable the management plugin for RabbitMQ:
Step 11 : Add a new admin user and set a password:
Step 12 : Allow RabbitMQ-related ports through the firewall:
Step 13 : Open a browser and access RabbitMQ's web interface:
Log in with the admin user credentials you created in Step 11.
Congratulations! You have successfully installed RabbitMQ on CentOS Stream 10.