How did I install RabbitMQ to CentOS 7?

Step 1

How did I install Erlang to CentOS 7?

rabbitmq.com/install-rpm.html#install-erlang

Step 2

yum install logrotate
yum install socat

rabbitmq.com/install-rpm.html#package-dependencies

Step 3

curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | sudo bash
yum install rabbitmq-server

rabbitmq.com/install-rpm.html#package-cloud
packagecloud.io/rabbitmq/rabbitmq-server/install#bash-rpm

Step 4

chkconfig rabbitmq-server on
systemctl start rabbitmq-server

rabbitmq.com/install-rpm.html#running-rpm

See also: How did I fix «Unable to connect to epmd» for RabbitMQ?

How did I install RabbitMQ to Debian 10?