rabbitmq安装

安装erlang方案二

vi /etc/yum.repos.d/rabbitmq-erlang.repo

文件内容:

In /etc/yum.repos.d/rabbitmq-erlang.repo

[rabbitmq-erlang]
name=rabbitmq-erlang
baseurl=https://dl.bintray.com/rabbitmq-erlang/rpm/erlang/22/el/7
gpgcheck=1
gpgkey=https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc
repo_gpgcheck=0
enabled=1

yum install erlang

rabbaitmq 安装

#安装socat
yum -y install socat
#下载rabbitmq 速度有些慢
wget https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.8.2/rabbitmq-server-3.8.2-1.el7.noarch.rpm
#安装rabbitmq
rpm -ivh rabbitmq-server-3.8.2-1.el7.noarch.rpm
#试运行rabbitmq
rabbitmq-server

安装二:
wget https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.8.2/rabbitmq-server-generic-unix-3.8.2.tar.xz
yum install -y xz (有xz命令可以不用安装)
/bin/xz -d rabbitmq-server-generic-unix-3.8.2.tar.xz

tar -xvf rabbitmq-server-generic-unix-3.8.2.tar
mv rabbitmq_server-3.8.2/ /usr/local
mv /usr/local/rabbitmq_server-3.8.2 rabbitmq

echo ‘export PATH=$PATH:/usr/local/rabbitmq/sbin’ >> /etc/profile
source /etc/profile

mkdir /etc/rabbitmq(创建配置目录)

#参考资料
https://blog.csdn.net/gzy11/article/details/102774678 centos rabbitmq3.8 安装
https://blog.csdn.net/fuck487/article/details/78652927 RabbitMQ环境变量设置
https://www.cnblogs.com/fengyumeng/p/11133924.html CentOS7安装RabbitMQ

https://blog.csdn.net/ebw123/article/details/50239457 RabbitMQ消息队列在PHP下的应用

https://blog.csdn.net/qq_34908844/article/details/88888719 Docker+TP5+RabbitMQ+入消息队列+自动消费队列

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值