CentOS5.8 64位平台上,erlang安装

1、需要到:https://fedoraproject.org/wiki/EPEL/zh-cn,下载epel的rpm包并安装

rpm-Uvhepel-release-5-4.noarch.rpm

2、导入repo

wget-O/etc/yum.repos.d/epel-erlang.repohttp://repos.fedorapeople.org/repos/peter/erlang/epel-erlang.repo

3、yuminstallerlang

安装成功之后,再下载rabbitmq-server并安装

4、下载rabbitmq的服务器包

wgethttp://www.rabbitmq.com/releases/rabbitmq-server/v3.0.0/rabbitmq-server-3.0.0-1.noarch.rpm

5、导入

rpm--importhttp://www.rabbitmq.com/rabbitmq-signing-key-public.asc

6、安装

yuminstallrabbitmq-server-3.0.0-1.noarch.rpm

7、启动

StarttheServer

TheserverisnotstartedasadaemonbydefaultwhentheRabbitMQserverpackageisinstalled.Tostartthedaemonbydefaultwhenthesystemboots,asanadministratorrunchkconfigrabbitmq-serveron.

Asanadministrator,startandstoptheserverasusualusing/sbin/servicerabbitmq-serverstop/start/etc.

Note:Theserverissetuptorunassystemuserrabbitmq.IfyouchangethelocationoftheMnesiadatabaseorthelogs,youmustensurethefilesareownedbythisuser(andalsoupdatetheenvironmentvariables).

相关推荐