安装erlang
erlang:https://www.erlang.org/patches/otp-23.3.4.18 注意:erlang与rabbitmq版本对标必须一致, RabbitMQ Erlang 版本要求:https://www.rabbitmq.com/which-erlang.html738 rpm --import https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc 739 rpm --import https://packagecloud.io/rabbitmq/erlang/gpgkey 740 rpm --import https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey 756 yum install -y make gcc gcc-c++ m4 openssl openssl-devel ncurses-devel unixODBC unixODBC-devel java java-devel rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc 863 tar -xvf otp_src_23.3.4.18.tar.gz 866 cd otp_src_23.3.4.18 868 ./configure --prefix=/opt/erlang 869 make 870 make install
设备环境变量
cat /etc/profile ... export PATH=$PATH:/opt/erlang/bin
872 source /etc/profile
安装rabbitmq-server
下载地址:https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.9.16
878 rpm -ivh --nodeps rabbitmq-server-3.9.16-1.el7.noarch.rpm
882 which rabbitmq-server
889 vim /etc/hosts 127.0.0.1 controller
891 ping controller
启动
894 rabbitmq-server -d
创建账号与开启插件
715 rabbitmq-plugins enable rabbitmq_management 716 netstat -ntpl 717 rabbitmqctl add_user admin admin 718 rabbitmqctl set_permissions -p "/" admin ".*" ".*" ".*" 719 rabbitmqctl set_user_tags admin administrator
标签:单机版,https,部署,rabbitmq,server,--,rabbit,erlang,rpm From: https://www.cnblogs.com/rtnb/p/16996219.html