一、Installing RabbitMQ-3.11.2 on CentOS 8.3
Installing RabbitMQ-3.10.2 on CentOS 7.9: https://www.cnblogs.com/huaxiayuyi/p/16768452.html
二、Erlang下载解压
1 wget 下载
cd /opt/software
wget https://github.com/erlang/otp/releases/download/OTP-25.1/otp_src_25.1.tar.gz
2 解压Erlang安装包
tar -zxvf /opt/software/otp_src_23.2.tar.gz -C /opt/
3 安装依赖
yum install -y ncurses-devel wxWidgets-devel wxBase unixODBC-devel
4 检验Erlang安装是否成功
ls /usr/local/erlang/bin
/usr/local/erlang/bin/erl -version
/usr/local/erlang/bin/erl
# 退出
halt().
5 配置Erlang环境变量
vim /etc/profile
export PATH=$PATH:/usr/local/erlang/bin
source /etc/profile
六、RabbitMQ下载解压
1 wget 下载
cd /opt/software
wget https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.11.2/rabbitmq-server-generic-unix-3.11.2.tar.xz
2 解压 & 进入目录
tar -xvf rabbitmq-server-generic-unix-3.11.2.tar -C /opt/ && cd /opt/rabbitmq-server-generic-unix-3.11.2 && ls
3 修改目录名
mv /opt/rabbitmq-server-generic-unix-3.11.2 /opt/rabbitmq-3112
4 配置 rabbitmq 环境变量
vim /etc/profile
export PATH=$PATH:/usr/local/rabbitmq-3112/bin
source /etc/profile
和
标签:opt,bin,8.3,CentOS,tar,3.11,rabbitmq,RabbitMQ From: https://www.cnblogs.com/huaxiayuyi/p/16866645.html