1.
sudo vim /etc/apt/sources.list
deb http://www.rabbitmq.com/debian/ testing main
wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add -
2.
sudo apt install erlang
sudo apt install erlang-nox
sudo apt install socat
sudo apt install rabbitmq-server
不配置源,也可以去手动下载rabbitmq-server,然后安装。
sudo dpkg -I rabbitmq-server_3.6.6-1_all.deb