1. First, add the appropriate source
Under Ubuntu 16.04
Echo "Deb Https://dl.bintray.com/rabbitmq/debian xenial main" | sudo tee/etc/apt/sources. list. d/bintray.rabbitmq. List
Under Ubuntu 17.10
Echo "Deb Https://dl.bintray.com/rabbitmq/debian artful Main" | sudo tee/etc/apt/sources. list. d/bintray.rabbitmq. List
2. Configure the Public key
wget-o-https://WWW.RABBITMQ.COM/RABBITMQ-RELEASE-SIGNING-KEY.ASC | sudo apt-key Add-
3. Update and install the service
sudo apt-get updatesudo apt-get install Rabbitmq-serve
The default is run after the installation is finished
INVOKE-RC.D rabbitmq-server Stop/start //can run, the code is turned on or off
Turn on page management
Rabbitmq-plugins Enable Rabbitmq_management
Run the code to access http://localhost:15672/for page management
Above, the installation of RABBITMQ service is completed
Ubuntu Configuration RABBITMQ Service