Moving Rabbit MQ to another Drive on Windows

Yasser Shaikh
· 2 min read

Problem

Rabbit MQ installs to “C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.1”. Even if you specify a different path during the installation, only the installation & setup files go to that path, the database i.e messages/queues/exchanges/users by default go under the user folder of the user installing it “C:\Users\yassershaikh\AppData\Roaming\RabbitMQ\db”.

Solution

  • Download & Install Erlang
  • Download & Install RabbitMQ.
  • Open command prompt as admin from “C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.6\sbin\” or from wherever you have made your rabbitmq installation, in my case it was the D drive, and run these commands
  • Run rabbitmq-service remove
  • Run set RABBITMQ_BASE=d:\RabbitMQ
  • Run rabbitmq-service install
  • And its done! Next you can install whatever plugins you need —
    rabbitmq-plugins enable rabbitmq_management to enable a web UI for managing and monitoring your RabbitMQ service is a must install.

Yasser Shaikh's blog

It's supposed to be automatic, but actually you have to push this button.

Yasser Shaikh

Written by

Yasser Shaikh's blog

It's supposed to be automatic, but actually you have to push this button.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade