Set the Environment Variable

Environment variables affect the way running processes behave on the server. For more information, see RabbitMQ Overview.

This task must be performed on any server that will host RabbitMQ.

  1. In the Windows taskbar, click Start and type "environment variables".
  2. Click the result Edit the system environment variables.
  3. In the System Properties dialog, click Environment Variables.
  4. In the Environment Variables dialog, under the System Variables section, click New.
  5. In the New System Variable dialog, type "RABBITMQ_BASE" for the Variable name field.
  6. For Variable value, enter the drive that the RabbitMQ files should be written to, followed by the folder name RabbitMQ (the drive may vary depending on your system design).
  7. Click OK.
  8. In the System Variables section of the Environment Variables dialog, verify that the ERLANG_HOME variable is present. If this variable is not present:
    1. Click New.
    2. In the New System Variable dialog, type "ERLANG_HOME" for the Variable name field.
    3. For Variable value, enter the path to the Erlang folder similar to the following example. The path may vary depending on your configuration. For example: C:\Program Files\Erlang OTP
  9. Click OK on the Environment Variables dialog.
  10. Click Apply on the System Properties dialog.

 

<< Previous Task | Install Erlang

 

Next Task | Install RabbitMQ >>