yum update -y
yum install -y gcc gcc-c++ glibc-devel make ncurses-devel openssl-devel autoconf java-1.8.0-openjdk-devel git
curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | sudo bash
curl -s https://packagecloud.io/install/repositories/rabbitmq/erlang/script.rpm.sh | sudo bash
yum install erlang -y
yum install rabbitmq-server -y
systemctl start rabbitmq-server
firewall-cmd --zone=public --add-port=5672/tcp --permanent
firewall-cmd --zone=public --add-port=15672/tcp --permanent
systemctl restart firewalld.service
rabbitmqctl add_user root 123456
rabbitmqctl set_user_tags root administrator
systemctl restart rabbitmq-server
最后修改:2023 年 02 月 20 日
如果觉得我的文章对你有用,请随意赞赏