Online and Offline RabbitMQ Installation

Online Simple Installation Without TLS

Copy
$cred = Get-Credential -Message "Enter the site connector credentials from Secret Server";
#$password = ConvertTo-SecureString “PlainTextPassword” -AsPlainText -Force
#$cred = New-Object System.Management.Automation.PSCredential (“CustomUserName”, $password)
Install-Connector
-Credential $cred `
-Verbose

When using the install-connector commandlet, there are additional switches that you can use. To learn more, run get-help install-connector from within the helper.

Offline RabbitMQ Install Without TLS

Preparation

Copy
$path = "C:\Program Files\Delinea Software Ltd\RabbitMq Helper\net6.0"

$cred = Get-Credential -Message "Enter the site connector credentials from Secret Server";
#$password = ConvertTo-SecureString “PlainTextPassword” -AsPlainText -Force #$cred = New-Object System.Management.Automation.PSCredential (“CustomUserName”, $password)

Install-Connector `
    -Credential $cred `
    -OfflineErlangInstallerPath $path\o-erlang.exe `
    -OfflineRabbitMqInstallerPath $path\o-rabbitMq.exe `
    -Verbose;

Ensure the exe files have Product versions mentioned in their properties.

When using this commandlet, there are additional switches available. To learn more, run get-help install-connector from within the helper.

Offline Install Preparation

To prepare installation on a computer NOT connected to the Internet, you can easily prepare an offline install for RabbitMQ. This is useful in cases where the host you are trying to install RabbitMQ on does not have outbound Internet access and therefore cannot download any installers directly.

To perform an offline install, follow these steps:

  1. Install the RabbitMQ Helper on a host that does have access to the Internet.
  2. Run the example script listed below on the machine where the Helper is downloaded.
  3. Copy the downloaded installers (Helper & RabbitMQ) to the target (offline) host machine.
  4. Conduct the desired off-line installation on the target host by running the installers.
Copy
$path = "C:\Program Files\Delinea Software Ltd\RabbitMq Helper\net6.0"

Get-ErlangInstaller `
    -PrepareForOfflineInstall `
    -OfflineErlangInstallerPath "$path\o-erlang.exe" `
    -UseNonMirror `
    -Verbose;

Get-RabbitMqInstaller `
    -PrepareForOfflineInstall `
    -OfflineRabbitMqInstallerPath "$path\o-rabbitMq.exe" `
    -UseNonMirror `
    -Verbose;

#Use the -Force switch to force download even if the files are present

Uninstall RabbitMQ and Erlang

  • Remove both RabbitMQ and Erlang from the current system.

  • Uninstall-Connector