Installation
echo ‘deb http://www.rabbitmq.com/debian/ testing main‘ | sudo tee /etc/apt/sources.list.d/rabbitmq.list
wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add -
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