esdc rabbitmq

Richard Kellner edited this page May 9, 2017 · 4 revisions


RabbitMQ is open source message broker software that implements the Advanced Message Queuing Protocol (AMQP) standard. It is used by Celery as a message broker.

Note: This guide is made for a development environment based on CentOS 7.


We will use the epel repository and install the newest version (3.3):

yum install epel-release

yum install rabbitmq-server


Start rabbitmq, create a rabbitmq user with custom password, create a rabbitmq vhost and set permissions. Adjust the firewall.


rabbitmqctl add_user esdc ${RABBITMQPASS}
rabbitmqctl add_vhost esdc
rabbitmqctl set_permissions -p esdc esdc ".*" ".*" ".*"

# edit iptables to add line for opening RabbitMQ port
# add following line:
# -A INPUT -m state --state NEW -m tcp -p tcp --dport 5672 -j ACCEPT
vim /etc/sysconfig/iptables 
systemctl restart iptables  # allow port 5672 for compute nodes

# in case you use firewalld, ignore above and run commands below:
firewall-cmd --add-port=5672/tcp --permanent
firewall-cmd --reload


systemctl enable rabbitmq-server
systemctl start rabbitmq-server


Not used directly. Used by Celery, which uses it via Kombu.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.