Installation RABBITMQ under Ubuntu 16.04

Source: Internet
Author: User
Tags rabbitmq

Installation
    • Add source
echo ‘deb http://www.rabbitmq.com/debian/ testing main‘ | sudo tee /etc/apt/sources.list.d/rabbitmq.list
    • New Public key
wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add -
    • Update source
sudo apt-get update
    • Installing Rabbitmq-server
sudo apt-get install rabbitmq-server
Check RABBITMQ process Status
INVOKE-RC.D rabbitmq-server Status RABBITMQ-SERVER.SERVICE-RABBITMQ broker loaded:loaded (/lib/systemd/system/rabbi Tmq-server.service; Enabled Vendor Active:active (running) since two 2018-02-06 19:43:54 CST; 1min 1s ago Main pid:24289 (BEAM.SMP) Status: "Initialized" CGroup:/system.slice/rabbitmq-server.service├ ─24289/usr/lib/erlang/erts-7.3/bin/beam.smp-w w-a 64-p 1048576-├─24367/USR/LIB/ERLANG/ERTS-7.3/BIN/EPMD-               daemon├─24501 inet_gethost 4└─24502 inet_gethost 42 months 19:43:50 Master rabbitmq-server[24289]: RabbitMQ 3.6.15. COP2 19:43:50 Master rabbitmq-server[24289]: # # # # Licensed under the M2 month 19:43:50 master rabbitmq-server[2 4289]: # # # #2月 19:43:50 Master rabbitmq-server[24289]: ########## Logs:/var/log/rabbi2 19:43:50 Master rabbi TMQ-SERVER[24289]: ###### #/var/log/rabbi2 month 19:43:50 Master rabbitmq-server[24289]: ######### #2月 06 19:43 : Master Rabbitmq-serVER[24289]: Starting broker ... February 19:43:54 Master rabbitmq-server[24289]: systemd unit for activation check:2 month 19:43:54 Master systemd[1]: Started RabbitMQ broker.2 19:43:54 Master rabbitmq-server[24289]: Completed with 0 plugins.
To view installed plugins
sudo rabbitmq-plugins enable rabbitmq_managementThe following plugins have been enabled:  amqp_client  cowlib  cowboy  rabbitmq_web_dispatch  rabbitmq_management_agent  rabbitmq_managementApplying plugin configuration to [email protected] started 6 plugins.
View User
sudo rabbitmqctl list_users
Add user
sudo rabbitmqctl add_user admin adminsudo rabbitmqctl set_user_tags admin administrator

Open http://127.0.0.1:15672 Login with the added user

Installation RABBITMQ under Ubuntu 16.04

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.