安装rabbitmq的基础erlang
1. 下载erlang 版本:otp_src_20.1.tar.gz
地址: http://erlang.org/download/?M=D
2.安装erlang,解决unixOBDC错误
wget http://vault.centos.org/5.11/os/SRPMS/unixODBC-2.2.11-10.el5.src.rpm
rpm -ivh unixODBC-2.2.11-10.el5.src.rpm
warning: user mockbuild does not exist - using root
[root@GW1 otp_src_20.1]# groupadd mockbuild
[root@GW1 otp_src_20.1]# useradd mockbuild -g mockbuild
[root@GW1 otp_src_20.1]# rpm -ivh unixODBC-2.2.11-10.el5.src.rpm
1:unixODBC ########################################### [100%]
[root@GW1 otp_src_20.1]#
3.erlang配置
[root@GW1 otp_src_20.1]# /configure --prefix=/usr/local/erlang --without-javac
4.编译命令:make
5.安装命令:make install
6.软连接 [root@GW1 /]# ln -s /usr/local/erlang/bin/erl /usr/local/bin/erl
7.测试安装成功
[root@GW1 /]# erl
Erlang/OTP 20 [erts-9.1] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V9.1 (abort with ^G)
1>