Step 1: Download RabbitMQ from following location. Extract
the downloaded tar file.
Step 2: After extracting, you can see sbin folder. Add path
of sbin to your system path.
Step 3: Open new terminal and type following command to
start rabbitmq server.
$ rabbitmq-server RabbitMQ 3.5.4. Copyright (C) 2007-2015 Pivotal Software, Inc. ## ## Licensed under the MPL. See http://www.rabbitmq.com/ ## ## ########## Logs: /Users/harikrishna_gurram/softwares/rabbitmq_server-3.5.4/sbin/../var/log/rabbitmq/rabbit@localhost.log ###### ## /Users/harikrishna_gurram/softwares/rabbitmq_server-3.5.4/sbin/../var/log/rabbitmq/rabbit@localhost-sasl.log ########## Starting broker... completed with 0 plugins.
Stop RabbitMQ server
Use command
“rabbitmqctl stop” to stop the server.
Run RabbitMQ in background
Use
"rabbitmq-server -detached" to run rabbitmq server in background.
Configure rabbitMQ
You can
configure rabbitMQ server by setting environment variables in
$RABBITMQ_HOME/etc/rabbitmq/rabbitmq-env.conf. Server components can be configured in the RabbitMQ configuration file located at
$RABBITMQ_HOME/etc/rabbitmq/rabbitmq.config. Neither of these files exist after
installation (you have to create these files by yourself).
Get the status of rabbitMQ
Use command “rabbitmqctl status”, to know the status of rabbitMQ server.
Use command “rabbitmqctl status”, to know the status of rabbitMQ server.
No comments:
Post a Comment