https://www.cnblogs.com/balaamwe/p/3678527.html
1. 安装 erlang
1.1 准备工作,先安装依赖库
yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel yum install ncurses-devel
1.2 下载erlang源码
wget http://www.erlang.org/download/otp_src_R16B02.tar.gz
cp otp_src_R16B02.tar.gz /usr/src/otp_src_R16B02.tar.gz
cd /usr/src tar -xzvf otp_src_R16B02.tar.gz mv otp_src_R16B02 erlang_R16B