安装依赖的组件
yum install gcc glibc-devel make ncurses-devel openssl-devel xmlto socat
下载erlang
wget https://github.com/rabbitmq/erlang-rpm/releases/download/v20.1.4/erlang-20.1.4-1.el7.centos.x86_64.rpm
rpm -ivh erlang-20.1.4-1.el7.centos.x86_64.rpm
下载rabbitmq
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.6/rabbitmq-server-3.6.6-1.el7.noarch.rpm
yum install rabbitmq-server-3.6.6-1.el7.noarch.rpm
启动服务
systemctl start rabbitmq-server.service
添加用户
rabbitmqctl add_user admin admin
rabbitmqctl set_user_tags admin administrator
启用Web管理
rabbitmq-plugins enable rabbitmq_management
linux 安装Rabbitmq
最新推荐文章于 2024-06-10 09:19:03 发布