RabbitMQ:
is the communication between program and program, through the message read and write, the realization of communication between programs, the classic practical scenario-production consumer mode (asynchronous distribution of consumer execution, to ensure that the message is correct)
Ubuntu16.04 Installing RABBITMQ:
1. To avoid signing errors, the public key needs to be added to the trusted list
sudo wget http://www.rabbitmq.com/rabbitmq-signing-key-public.asc sudo apt-key add rabbitmq-singning-key-public.asc 控制台出现:OK,表示我们公钥导入成功
2. Installing RABBITMQ
sudo apt-get install rabbitmq-server -yRabbitMQ安装完成后会建立一个默认的guest账户,用户名和密码都是guest, 我们可以通过rabbitmqctl status 查看RabbitMQ运行状况rabbitmqctl stop 关闭服务rabbitmq-server -detached 开启服务-detached 参数是使用守护进程启动服务,在后台运行(命令行退出rabbitmq不会退出)
rabbitmq运行日志:/var/log/rabbitmq/startup_log/var/log/rabbitmq/startup_err
Ubuntu16.04 Mounting RABBITMQ (Quick Install)