This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run the following script on each machine of the cluster: | |
sudo add-apt-repository 'deb http://www.rabbitmq.com/debian/ testing main'" | |
sudo apt-get update | |
sudo apt-get -q -y --force-yes install rabbitmq-server=3.4.1-1 | |
sudo invoke-rc.d rabbitmq-server stop | |
echo 'MYCOOKIEVALUE' | sudo tee /var/lib/rabbitmq/.erlang.cookie | |
sudo chown rabbitmq:rabbitmq /var/lib/rabbitmq/.erlang.cookie | |
sudo chmod 400 /var/lib/rabbitmq/.erlang.cookie |