how to install RabbitMQ in centos

  1. Update your system’s package index:

    sudo yum update
  2. Install the Erlang programming language, which is a dependency of RabbitMQ:

    sudo yum install erlang
  3. Download the RabbitMQ installation package:


    Replace the URL above with the download link for the version of RabbitMQ you want to install.

  4. Install the RabbitMQ package:

    sudo rpm --import sudo yum install rabbitmq-server-3.9.5-1.el7.noarch.rpm
  5. Start the RabbitMQ server:

    sudo systemctl start rabbitmq-server
  6. Enable RabbitMQ to start on boot:

    sudo systemctl enable rabbitmq-server
  7. Check the status of the RabbitMQ service:

    sudo systemctl status rabbitmq-server

    The output should show that the service is active and running.

You can now use RabbitMQ as a messaging broker for your applications. To manage RabbitMQ, you can use the RabbitMQ web console or command-line tools such as rabbitmqctl. The web console is available at http://localhost:15672 by default.

Scroll to Top