Ubuntu 16.04 installs RabbitMQ via apt

Source: Internet
Author: User
Tags rabbitmq

  • Add Public key

  • wget-o-HTTPS://WWW.RABBITMQ.COM/RABBITMQ-RELEASE-SIGNING-KEY.ASC | sudo apt-key add-
      • Update package

    sudo apt update sudo apt upgrade
      • Installing RabbitMQ

    sudo apt install rabbitmq-server
      • Start the RabbitMQ service

    sudo systemctl enable Rabbitmq-serversudo systemctl start Rabbitmq-server
      • View status

    sudo systemctl status Rabbitmq-server

    If the status is not active (running) , trying various methods cannot start successfully, you can try restarting the operating system.

      • Enable Web Management interface

    sudo rabbitmq-plugins enable Rabbitmq_managementsudo systemctl restart Rabbitmq-server

    At this point, you should be able to view through http://localhost:15672, Guest/guest account login.

    Note: 3.3 and later versions, guest can only log on in service native.

      • View RabbitMQ version

    sudo rabbitmqctl status | grep Rabbit,
      • View available plugins and installed plugins

    sudo rabbitmq-plugins list
      • View User

    sudo rabbitmqctl list_users
      • Add an Administrative user

    sudo rabbitmqctl add_user admin YourPassword # Add normal user sudo rabbitmqctl set_user_tags admin Administrator # for normal use User Assignment Administrator role
      • RabbitMQ Development Kit for various languages: https://www.rabbitmq.com/devtools.html


    Walker * * *


    Ubuntu 16.04 installs RabbitMQ via apt

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.