RabbitMQ(2)Install RabbitMQ on win7/Ubuntu

本文介绍如何在Windows和Ubuntu上安装RabbitMQ消息中间件。在Windows上,首先需要安装Erlang语言环境,然后下载并安装RabbitMQ服务器。对于Ubuntu用户,需要通过APT源进行配置,并使用APT工具安装RabbitMQ。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

RabbitMQ(2)Install RabbitMQ on win7/Ubuntu

1. Install on Windows
1.1 Install erlang
download the windows install file here: http://www.erlang.org/download/otp_win64_R15B01.exe
Install this file by click it. Just click it.

And add this to path
path=D:\tool\erl5.9.1\bin

1.2. Install RabbitMQ
download the windows install file here: http://www.rabbitmq.com/releases/rabbitmq-server/v2.8.2/rabbitmq-server-2.8.2.exe
Just click it.

The command directory is here:
C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-2.8.2\sbin>
>rabbitmq-server
>rabbitmqctl status
>rabbitmqctl stop

2. Install on ubuntu 12.04
modify the /etc/apt/sources.list
>sudo vi /etc/apt/sources.list
deb http://www.rabbitmq.com/debian/ testing main

add the key
>wget http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
>sudo apt-key add rabbitmq-signing-key-public.asc
>sudo apt-get update
>sudo apt-get install rabbitmq-server

Start the Server
>rabbitmq-server

Check the server status
>rabbitmqctl status
>rabbitmqctl stop

references:
http://www.erlang.org/download.html
http://www.rabbitmq.com/install-windows.html
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值