Installing RabbitMQ Offline without TLS
An offline RabbitMQ installation is helpful when you are trying to install RabbitMQ on a system without internet access and cannot download any installers directly.
To perform an offline installation without TLS for the version 10.5.0.0 and higher
-
Download the Erlang and RabbitMQ Installers on a computer with internet access using the installation links provided in the Installing RabbitMQ with RabbitMQ Helper section.
Make sure to verify the compatibility matrix before downloading the installer.
-
Copy the downloaded installers (for Erlang and RabbitMQ) and RabbitMQ-Helper Installer to the target (offline) host computer.
-
Install the RabbitMQ-Helper on the host computer that does not have internet access.
-
Conduct the desired offline installation on the target host by running the examples of installers provided below.
Copy#RABBITMQ OFFLINE INSTALLATION WITHOUT TLS
#Get the values from your Secret Server Site Connector page for the following:
$username = "<SITE CONNECTOR USERNAME FROM SECRET SERVER>"
$password = "<SITE CONNECTOR PASSWORD FROM SECRET SERVER>"
#Create a PSCredential object to use for the installation
$credential = New-Object System.Management.Automation.PSCredential ($username, (ConvertTo-SecureString -String $password -AsPlainText -Force))
Install-Connector `
-Credential $credential `
-OfflineErlangInstallerPath "<erlang-installer-with-complete-path>" `
-OfflineRabbitMqInstallerPath "<rabbitmq-installer-with-complete-path>" `
-Verbose;
To perform an offline installation without TLS for the version 10.4.2.0 and lower:
-
Download the Erlang and RabbitMQ Helper on a computer with internet access. For details about the installation process, see Installing RabbitMQ with RabbitMQ Helper.
Make sure to verify the compatibility matrix before downloading the installer.
-
Copy the downloaded installers (Erlang and RabbitMQ) and RabbitMQ Helper Installer to the target (offline) host computer.
-
Install the RabbitMQ Helper on the host computer that does not have internet access.
-
Run the scripts listed below on the host computer where RabbitMQ Helper is installed.
These scripts are a necessary preliminary step for the RabbitMQ installation command, as they prepare the Helper for offline installation.
CopyGet-ErlangInstaller `
-PrepareForOfflineInstall `
-OfflineErlangInstallerPath "<erlang-installer-with-complete-path>" `
-Verbose;
Get-RabbitMqInstaller `
-PrepareForOfflineInstall `
-OfflineRabbitMqInstallerPath "<rabbitmq-installer-with-complete-path>" `
-Verbose;
#Use the -Force switch to force download even if the files exist on the system5. Conduct the desired offline installation on the target host by running the installation scripts provided below.
Copy# Get the values from your Secret Server Site Connector page for the following:
$username = "<SITE CONNECTOR USERNAME FROM SECRET SERVER>"
$password = "<SITE CONNECTOR PASSWORD FROM SECRET SERVER>"
# Create a PSCredential object to use for the installation
$credential = New-Object System.Management.Automation.PSCredential ($username, (ConvertTo-SecureString -String $password -AsPlainText -Force))
# Offline Installation Without TLS
Install-Connector `
-Credential $credential `
-OfflineErlangInstallerPath "<erlang-installer-with-complete-path>" `
-OfflineRabbitMqInstallerPath "<rabbitmq-installer-with-complete-path>" `
-Verbose;There are more switches for this Install-Connector cmdlet. For more information, run
get-help install-connector
when inside the RabbitMQ Helper.