因为要安装rabbitmq,而它又依赖于erlang,所以为了简便就去找了centos可以用的扩展源,这样就可以直接yum install erlang了
下载两个扩展源的rpm包
- wget -c http://mirrors.ustc.edu.cn/fedora/epel//6/x86_64/epel-release-6-5.noarch.rpm
- wget -c http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
- rpm -Uvh ... #导入上面下载的两个源
然后就可以很轻松的安装erlang了
转载于:https://blog.51cto.com/387249/812699