- Mastering RabbitMQ
- Emrah Ayanoglu Yusuf Ayta? Dotan Nahum
- 290字
- 2021-07-23 14:52:48
Starting RabbitMQ
As we can see, the installation part of RabbitMQ is quite easy and starting RabbitMQ is similar to its installation. Some package managers in Linux, Mac OS X, and Windows installer add configuration parameters to operation system's configuration for automatic startup. In such a case, we don't need to run the RabbitMQ command manually; however, if we install RabbitMQ manually, we need to run the RabbitMQ commands manually.
Starting RabbitMQ on Windows
If we use the Windows installer of RabbitMQ, the installer already makes configurations for starting automatically. Therefore, we don't need to run RabbitMQ manually; however, whenever we'd like to control the status of the server, we just need to run following command on the sbin
folder of RabbitMQ:
rabbitmqctl status

Status of RabbitMQ in Windows
You may have installed RabbitMQ manually on your Windows and you might wonder how you can run the RabbitMQ server. You should run the following command to start RabbitMQ (you have to run this command with an administrative user). Moreover, you can install the RabbitMQ server as a Windows service:
rabbitmq-server
Other OSes (Linux, Mac OS X)
There's isn't much difference in running RabbitMQ on Windows and other operating systems. If we have RabbitMQ already installed using package managers, such as apt-get
, yum
, and so on, we don't need to run the RabbitMQ manually because RabbitMQ has already started automatically. So, we'd like to check the status of the RabbitMQ using the following command:
sudo rabbitmqctl status

Status of RabbitMQ in Unix
After controlling the RabbitMQ status, if we get a message that says that RabbitMQ isn't running, then we should run RabbitMQ using the following command on the sbin
folder of RabbitMQ installation folder:
rabbitmq-server

Starting of RabbitMQ in Unix
- Advanced Splunk
- Oracle Exadata性能優(yōu)化
- Android Application Development Cookbook(Second Edition)
- Getting Started with CreateJS
- 神經(jīng)網(wǎng)絡(luò)編程實(shí)戰(zhàn):Java語(yǔ)言實(shí)現(xiàn)(原書第2版)
- Python機(jī)器學(xué)習(xí)編程與實(shí)戰(zhàn)
- 重學(xué)Java設(shè)計(jì)模式
- NoSQL數(shù)據(jù)庫(kù)原理
- Learning Apache Karaf
- Scala for Machine Learning(Second Edition)
- Java圖像處理:基于OpenCV與JVM
- SQL Server 2016 從入門到實(shí)戰(zhàn)(視頻教學(xué)版)
- 零基礎(chǔ)學(xué)HTML+CSS
- 奔跑吧 Linux內(nèi)核
- Mastering Apache Camel