Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Linux Distributions»Debian»How to Install RabbitMQ Server on Debian 9/8

    How to Install RabbitMQ Server on Debian 9/8

    RahulBy RahulApril 10, 20182 Mins ReadUpdated:April 20, 2018

    RabbitMQ is a lightweight application available for most of the popular operating systems. RabbitMQ supports multiple messaging protocols. RabbitMQ can be easily deployed in a distributed and federated configurations to meet high-scale, high-availability requirements. This tutorial will help you to install RabbitMQ on Debian 9 Stretch and Debian 8 Jessie systems.

    Step 1 – Installing Erlang

    RabbitMQ requires Erlang to be installed on the system. So first of all, You can simply download erlang repository package from its official website and install on your system.

    wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
    sudo dpkg -i erlang-solutions_1.0_all.deb
    

    Run the following commands to update Apt cache and install Erlang packages.

    sudo apt-get update
    sudo apt-get install erlang erlang-nox
    

    Step 2 – Install RabbitMQ Server

    After installing requirements, now enable RabbitMQ apt repository on your system. Also you need to import rabbitmq signing key on your system. Use the following commands to do this.

    sudo add-apt-repository 'deb http://www.rabbitmq.com/debian/ testing main'
    wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add -
    

    After that update apt cache and install RabbitMQ server on your system.

    sudo apt-get update
    sudo apt-get install rabbitmq-server
    

    Step 3 – Manage RabbitMQ Service

    RabbitMQ has been installed on Debian system. Use the following commands to enable the RabbitMQ service on your system. Also, start the RabbitMQ service.

    sudo systemctl enable rabbitmq-server
    sudo systemctl start rabbitmq-server
    sudo systemctl stop rabbitmq-server
    

    Step 4 – Create Admin User in RabbitMQ

    By default rabbitmq creates a user named “guest” with password “guest”. You can also create your own administrator account on RabbitMQ server using following commands. Change password with your own password.

    sudo rabbitmqctl add_user admin password 
    sudo rabbitmqctl set_user_tags admin administrator
    sudo rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"
    

    Step 5 – Setup RabbitMQ Web Management Console

    RabbitMQ also provides and web management console for managing the entire RabbitMQ. To enable web management console run following command on your system. The web management console helps you for managing RabbitMQ server.

    sudo rabbitmq-plugins enable rabbitmq_management
    

    RabbitMQ dashboard starts on port 15672. Access your server on the port to get dashboard. Use the username and password created in step 4

    install rabbitmq server

    After login, you will get the RabbitMQ management web interface dashboard.

    install rabbitmq server dashboard

    RabbitMQ
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to Install Erlang on Debian 10/9/8
    Next Article How to Install Dropbox on Ubuntu 18.04 & 16.04

    Related Posts

    How to Create a Sudo User in Debian

    Updated:June 26, 20212 Mins Read

    How To Install XRDP (Remote Desktop) on Debian 10

    4 Mins Read

    Initial Server Setup with Debian 10/9/8

    Updated:June 25, 20214 Mins Read

    How To Install and Configure VNC Server on Debian 10

    Updated:June 26, 20215 Mins Read

    How to Install TeamViewer on Debian 10

    3 Mins Read

    How to Install .NET Core on Debian 10

    2 Mins Read

    2 Comments

    1. Alex on December 10, 2021 6:28 pm

      Thanks!

      Reply
    2. Raja on November 26, 2019 11:52 am

      Straight forward and perfectly worked.

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • How To Install Docker on Ubuntu 22.04
    • How to Install Bower on Ubuntu 22.04 & 20.04
    • How to run “npm start” through Docker
    • Filesystem Hierarchy Structure (FHS) in Linux
    • How to accept user input in Python
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.