How did I install RabbitMQ to Debian 10?

Step 1

How did I install Erlang to Debian 10?

Step 2

wget -O - "https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey" | sudo apt-key add -

rabbitmq.com/install-debian.html#apt-packagecloud

Step 3

aptitude install curl

Step 4

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

rabbitmq.com/install-debian.html#installation-methods
packagecloud.io/rabbitmq/rabbitmq-server/install#bash-deb

Step 5

aptitude install rabbitmq-server

How did I fix «epmd error for host <...>: timeout (timed out)» for RabbitMQ in Debian 10?

See also: How did I install RabbitMQ to CentOS 7?