Installing RabbitMQ Offline without TLS

An offline RabbitMQ installation 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.

Before you start offline installation without TLS, read the Preparation topic describing the offline install basics.

To perform an offline installation without TLS

  1. Install the RabbitMQ Helper on a host computer that does have internet access.

  2. Run the example script listed below on the computer where RabbitMQ Helper is downloaded.

    Copy
    #This can be any path you like
    $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
  3. Copy the downloaded installers (RabbitMQ Helperand RabbitMQ) to the target (offline) host computer.

  4. Conduct the desired offline installation on the target host by running the installers.

    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;

    There are more switches for this Install-Connector cmdlet; for more information, run get-help install-connector when inside the RabbitMQ Helper.

Getting the Download Locations

Starting from version 10.2.0.0 the -UseDelineaMirror switch is now –UseNonMirror. This change happened because commands are using Delinea download mirror links as the default.

To get the download locations for the installers, run the following command:

Get-DownloadLocations;

To get the official CND mirror download location, run the following command:

Get-DownloadLocations -UseNonMirror;

Copy the offline folder to the target system which does not have internet and proceed with the desired installation.