1、安装EPEL扩展源
Centos5安装
32位:rpm -ivh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
64位:rpm -ivh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
Centos6安装
32位:rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
64位:rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
2、安装erlang
#yuminstall-yerlang
3、安装git
#yuminstall-ygit
4、安装emqtt_benchmark
#gitclonehttps://github.com/emqtt/emqtt_benchmark #cdemqtt_benchmark #make
这就安装好了
原文链接:https://www.f2er.com/centos/377700.html