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
1
|
#yum install -y erlang
|
3、安装git
1
|
#yum install -y git
|
4、安装emqtt_benchmark
1
2
3
|
#git clone https://github.com/emqtt/emqtt_benchmark
#cd emqtt_benchmark
#make
|
这就安装好了
本文转自 jackjiaxiong 51CTO博客,原文链接:http://blog.51cto.com/xiangcun168/1922383