安装版本
rabbitmq 3.7.6
erlang 20.3
安装过程
erlang安装
wget --content-disposition https://packagecloud.io/rabbitmq/erlang/packages/el/7/erlang-20.3-1.el7.centos.x86_64.rpm/download.rpm
yum install erlang-20.3-1.el7.centos.x86_64.rpm
RabbitMQ部署
wget https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.6/rabbitmq-server-3.7.6-1.el7.noarch.rpm
yum install rabbitmq-server-3.7.6-1.el7.noarch.rpm
开启rabbitmq web界面
rabbitmq-plugins enable rabbitmq_management
防火墙开启
firewall-cmd --zone=public --add-port=15672/tcp --permanent
firewall-cmd --reload
firewall-cmd --list-port
远程登录账户创建
rabbitmqctl add_user admin admin123
rabbitmqctl set_user_tags admin administrator
节点加入与退出
rabbitmqctl forget_cluster_node rabbit@RabbitMQ-03
rabbitmqctl join_cluster --ram rabbit@RabbitMQ-01
管理端口号
- 4369 (epmd), 25672 (Erlang distribution)
- 5672, 5671 (AMQP 0-9-1 without and with TLS)
- 15672 (if management plugin is enabled)
- 61613, 61614 (if STOMP is enabled)
- 1883, 8883 (if MQTT is enabled)
文章评论