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
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
As shown in the figure, the execution is successful. Then you can visit: http://ip:15672
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