rabbitMq starts under linux|close|check status

1.rabbitmq start

Rabbitmq path: /usr/local/rabbitmq_server-3.7.8
In the rabbitmq installation directory, enter the sbin directory and execute:

#Start
rabbitmq rabbitmq-server
./rabbitmq-server

Insert picture description here

As shown in the figure above: as shown by the arrow, when the startup is successful, if the panel is closed, or ctrl+c will close the rabbitmq service.

2. Rabbitmq starts in the background

Execute in the sbin directory:

./rabbitmq-server -detached

Insert picture description here
As shown in the figure, the execution is successful. Then you can visit: http://ip:15672
Insert picture description here

3. View the running status of rabbitmq

View the running status of rabbitmq

ps -ef | grep rabbitmq

View rabbit running status

rabbitmqctl status

4. Turn off rabbitmq

rabbitmqctl stop

Guess you like

Origin blog.csdn.net/u010312671/article/details/106634909