使用yum安装rabbitmq

?yum安装rabbitmq

  1. 查看安装环境
    [[email protected] shell]# uname -a
    Linux tsettiaoshi 2.6.32-696.el6.x86_64 #1 SMP Tue Mar 21 19:29:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
  2. 检查yum源
    extras CentOS-6 Extras 35
    updates CentOS-6 Updates 257
    repolist: 19,509
  3. 安装rabbitmq
    curl -s https://packagecloud.io/install/repositories/rabbitmq/erlang/script.rpm.sh | sudo bash
    curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | sudo bash
    yum install rabbitmq-server-3.7.8-1.el6.noarch -y ####如果安装报错是yum源有问题
    /etc/init.d/rabbitmq-server start ###启动MQ
    rabbitmq-plugins enable rabbitmq_management #启动web页面
    rabbitmqctl add_user admin 123456 #创建web页面的账户密码
    rabbitmqctl set_user_tags admin administrator #设置管理员用户

原文地址:http://blog.51cto.com/14037953/2334775

时间: 2024-10-09 13:11:39

使用yum安装rabbitmq的相关文章

yum 安装rabbitMQ

环境:linux centos6.5 1.安装erlang 下载rpm仓库:wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm 安装rpm仓库 rpm -Uvh erlang-solutions-1.0-1.noarch.rpm 安装erlang yum -y install erlang 安装完成后,运行: [[email protected] ~]# erl -v Erlang/OTP 20

CentOS yum 安装RabbitMQ

最近在做机器学习的任务系统,任务模块使用了消息对联,比较快速的搭建方法: 1.安装erlang 下载rpm仓库:wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm 安装rpm仓库rpm -Uvh erlang-solutions-1.0-1.noarch.rpm 安装erlangyum -y install erlang 2.安装RabbitMQ 下载RabbitMQ的rpm:wget http:

yum安装rabbitMQ

环境 Linux CentOs7.4 JDK 8 安装erlang 下载rpm仓库:wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm 安装rpm仓库rpm -Uvh erlang-solutions-1.0-1.noarch.rpm 安装erlangyum -y install erlang 备注:上面可能会出现报错,我安装就出现缺少epel-release包,缺少就安装即可解决.安装epel-

rpm不用yum安装rabbitMQ

1.安装erlang 下载 esl-erlang_19.0~centos~6_amd64.rpm 打开https://www.erlang-solutions.com/resources/download.html 找到对应的linux版本 下载安装 rpm -ivh esl-erlang_19.0~centos~6_amd64.rpm 发现缺包 wxBase-2.8.12-1.el6.centos.x86_64.rpm wxGTK-gl-2.8.12-1.el6.centos.x86_64.r

CentOS 6.7 安装 RabbitMQ

1.下载安装包http://www.rabbitmq.com/releases/erlang/erlang-19.0.4-1.el7.centos.x86_64.rpmhttp://www.rabbitmq.com/releases/erlang/esl-erlang-compat-18.1-1.noarch.rpm 2.安装 Erlangyum localinstall -y erlang-19.0.4-1.el7.centos.x86_64.rpmyum localinstall -y es

CentOS 6 安装RabbitMQ

1. 安装erlang, 以root身份执行下面命令 yum install erlang 2.安装rabbitmq rpm wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.5.0/rabbitmq-server-3.5.0-1.noarch.rpm rpm -ivh rabbitmq-server-3.5.0-1.noarch.rpm 3.安装完成后需要对RabbitMQ进行配置,在etc/rabbitmq目录下创建两个文件 r

CentOS7.2 安装RabbitMQ

CentOS上面使用yum安装比较方便 先记录一些rabbitmq的基本操作命令: $ sudo chkconfig rabbitmq-server on # 添加开机启动RabbitMQ服务 $ sudo /sbin/service rabbitmq-server start # 启动服务 $ sudo /sbin/service rabbitmq-server status # 查看服务状态 $ sudo /sbin/service rabbitmq-server stop # 停止服务 #

centos 安装 rabbitmq

  安装erlang 以root身份执行下面命令 yum install erlang   安装rabbitmq rpm包: wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.5.0/rabbitmq-server-3.5.0-1.noarch.rpm rpm -ivh rabbitmq-server-3.5.0-1.noarch.rpm   启动rabbitmq,并验证启动情况 rabbitmq-server --detached

在Linux下安装RabbitMQ

Installing on RPM-based Linux (CentOS, Fedora, OpenSuse, RedHat) 1.安装Erlang rpm -ivh http://www.rabbitmq.com/releases/erlang/erlang-17.4-1.el6.x86_64.rpm 2.安装RabbitMQ rpm --import https://www.rabbitmq.com/rabbitmq-signing-key-public.asc yum install h