1.准备工作
rpm -ivh http://download.slogra.com/epel-release-5-4.noarch.rpm
下面这几个我也弄了,但是我不知道是什么意思,有的还不成功
1yum install -y docbook-style-xsl xmlto git \\
2wxGTK wxGTK-devel expat expat-devel librabbitmq \\
3make gcc44 gcc44-c++ libstdc++44-devel hg libtool \\
4openssl openssl-devel unixODBC unixODBC-devel unixODBC-libs \\
5ncurses ncurses-devel tk python26
2.安装erlang
wget http://www.erlang.org/download/otp_src_R15B01.tar.gz
tar zxf otp_src_R15B01.tar.gz && cd otp_src_R15B01
./configure
如果提示fop is missing,不用管直接make,后面安装RabbitMQ的时候,会自动安装的.
make
make install (此处执行了很久,安装这个很重要)
(实在 是找不到方法了,我也在这个地方也弄了一把)
安装erlang
1 |
|
安装rabbitmq rpm包:
1 2 3 4 5 |
|
以服务的方式启动
1 |
|
[root@wuliu125 rabbitmq]# service rabbitmq-server start
Starting rabbitmq-server: SUCCESS
rabbitmq-server.
[root@wuliu125 rabbitmq]# netstat -tnulp
Active Internet connections (only servers)
检查端口5672是否打开
1 2 3 4 |
|
配置开机启动
1 |
|
|
启动rabbitmq,并验证启动情况
1 2 3 4 5 6 7 8 9 10 11 12 |
|
启用维护插件:
1 2 3 4 5 6 7 8 9 |
|
http://www.rabbitmq.com/management.html
The rabbitmq-management plugin provides an HTTP-based API for management and monitoring of your RabbitMQ server, along with a browser-based UI and a command line tool, rabbitmqadmin. Features include:
Declare, list and delete exchanges, queues, bindings, users, virtual hosts and permissions.
Monitor queue length, message rates globally and per channel, data rates per connection, etc.
Send and receive messages.
Monitor Erlang processes, file descriptors, memory use.
Export / import object definitions to JSON.
Force close connections, purge queues.
Web UI :
转载于:https://blog.51cto.com/fangwei009/1542094
1382

被折叠的 条评论
为什么被折叠?



