RabbitMQ(2)Install RabbitMQ on win7/Ubuntu
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