先安装openssl,详见http://blog.csdn.net/mirahs/article/details/48244787
从github下载源码并安装
[root@test soft]# svn co https://github.com/erlang/otp/trunk otp
[root@test soft]# cd otp
[root@test otp]# ./otp_build autoconf
[root@test otp]# ./configure --prefix=/usr/local/otp --with-ssl=/usr/local/openssl/
[root@test otp]# make
[root@test otp]# make install
增加erlang的bin目录到系统里并生效