Firstly I am using Centos 7 along with RabbitMQ 3.8.9 and Erlang 23.2.1.
I have created a bash script to install and configure RabbitMQ up to the point of adding a VHost