一、安装RabbitMQ
1. 上传 RabbitMQ
安装包
2. 安装 erlang-21.3-1.el7.x86_64.rpm
yum -y install erlang-21.3-1.el7.x86_64.rpm
erl
3. 安装 rabbitmq-server-3.8.8-1.el7.noarch.rpm
yum -y install rabbitmq-server-3.8.8-1.el7.noarch.rpm
4. 安装 RabbitMQ
的可视化界面
rabbitmq-plugins list
5. 开启管控界面
rabbitmq-plugins enable rabbitmq_management
6. 启动 RabbitMQ
systemctl start rabbitmq-server
systemctl status rabbitmq-server
systemctl enable rabbitmq-server
7. 创建 rabbitmq.config
cd /etc/rabbitmq
touch rabbitmq.config
[{rabbit, [{loopback_users, []}]}].