EMQ 2.1.2
Install Erlang (Mac).
$ brew install erlang
Compile MQTT
$ rebar3 deps.get
$ rebar3 compile
Example of success run.
$ rebar3 shell
===> Verifying dependencies...
===> Analyzing applications...
===> Compiling emqttd
Erlang/OTP 24 [erts-12.2.1] [source] [64-bit]
[smp:12:12] [ds:12:12:10] [async-threads:1] [jit]
Eshell V12.2.1 (abort with ^G)
1> starting emqttd on node 'nonode@nohost'
mqtt:tcp listen on 0.0.0.0:1883 with 8 acceptors.
mqtt:ssl listen on 0.0.0.0:8883 with 4 acceptors.
mqtt:ws listen on 0.0.0.0:8083 with 4 acceptors.
mqtt:wss listen on 0.0.0.0:8084 with 4 acceptors.
emqttd 2.1.2 is running now
===> Booted gproc
===> Booted syntax_tools
===> Booted compiler
===> Booted goldrush
===> Booted lager
===> Booted gen_logger
===> Booted esockd
===> Booted xmerl
===> Booted mochiweb
===> Booted kvs
===> Booted emqttd
Applications List.
> application:which_applications().
[{emqttd,"MQTT Broker","2.1.2"},
{mnesia,"MNESIA CXC 138 12","4.20.1"},
{kvs,"KVS Abstract Chain Database","9.4.1"},
{mochiweb,"MochiMedia Web Server","4.2.1"},
{xmerl,"XML parser","1.3.28"},
{esockd,"ESOCKD Non-blocking TCP/SSL Server","4.1.1"},
{gen_logger,"Erlang gen_logger behaviour","1.2"},
{lager,"Erlang logging framework","3.2.2"},
{goldrush,"Erlang event stream processor","0.1.9"},
{compiler,"ERTS CXC 138 10","8.0.4"},
{syntax_tools,"Syntax tools","2.6"},
{gproc,"Extended process registry for Erlang","0.6.1"},
{inets,"INETS CXC 138 49","7.5"},
{ssl,"Erlang/OTP SSL application","10.6.1"},
{public_key,"Public key infrastructure","1.11.3"},
{asn1,"The Erlang ASN1 compiler version 5.0.17","5.0.17"},
{crypto,"CRYPTO","5.0.5"},
{stdlib,"ERTS CXC 138 10","3.17"},
{kernel,"ERTS CXC 138 10","8.2"}]