Reading list Switch to dark mode

    Installing RabbitMQ Server on Ubuntu

    Updated 30 January 2017

    RabbitMQ is included by default in standard Debian and Ubuntu Linux distributions. However, the versions included are often quite old. You will probably get better results by installing it yourself.

    Installing RabbitMQ Server:

    Execute the following command to add the APT repository to your /etc/apt/sources.list.d:

    sudo echo "deb http://www.rabbitmq.com/debian/ testing main" >> /etc/apt/sources.list
    

    [OPTIONAL] To avoid warnings about unsigned packages, add rabbitmq`s public key to your trusted key list, as:

    wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc |
            sudo apt-key add -

    Run the following command to update the package list &Install rabbitmq-server package:

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

    Starting RabbitMQ Services:

    RabbitMQ server has been installed successfully, now run below commands to start and check the status of RabbitMQ server

    Start your headless eCommerce
    now.
    Find out More

    To Start/Stop/Check-Status of RabbitMQ server:

    service rabbitmq-server start/stop/status

    To make the service to start and stop automatically with the Ubuntu Server.

    update-rc.d rabbitmq-server defaults

    Enabling RabbitMQ Web Interface :

    The rabbitmq-management plugin provides an HTTP-based API for management and monitoring of your RabbitMQ server, along with a browser-based UI

    Run the below command to install this plugin:

    rabbitmq-plugins enable rabbitmq_management

    Now we can access RabbitMQ Management from our web browser on port 15672 use the default ‘guest‘ as user name and ‘guest‘ as password to login, as:

    http://localhost:15672

    You can also create new admin user using below commands.

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

    To Read More, check this link Basic Concepts RabbitMQ

    That`s it !!! I hope it will help someone in the future. And by someone I most likely mean by me !

    Your opinions, comments and suggestions are important to keep the page updated and interesting !!!

    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    2 comments

  • khurshed
    • Mohit Chandra (Moderator)
  • Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home