Installing RabbitMQ with a Powershell script
This section explains how to install RabbitMQ with a Powershell script called
InstallRabbitMQ.ps1. This script is located at
ReleaseFiles\Resources.
Note: In addition to RabbitMQ, this script also installs erlang v.21 and Chocolatey
(if Chocolately is not already installed).
Stop and restart the RabbitMQ after
running the script. Enter this URL in your
preferred browser: http://localhost:15672/#/. The default
login credentials are:
Username: guestPassword: guest
If RabbitMQ was previously installed
manually, be sure to manually uninstall it and
remove the erlang.cokie file from the following
locations to avoid script permission errors:
c:\windows\system32\config\systemprofilec:\Users\<UserThatInstalledERLang>\.erlang.cookie
Be sure to run exact same commands for each server when running the script.
- Open Powershell as an Administrator.
- Enter
set-executionpolicy unrestrictedand click Enter. - Enter "Y" for
Yesand click Enter. This allows you to run theInstallRabbitMQscript. - Run the
InstallRabbitMQscript with the following:.\InstallRabbitMQ.ps1 -cookie "xxx_xxx_xxxxx" -servers @('xxxxxxxxxx','xxxxxxxxx')Note: for example, this would be a sample command:.\InstallRabbitMQ.ps1 -cookie "DGS_Test_Install" -servers @('LABW6412HVM991','LABW6412HVM992')