先下载ejabberd Community Server 16.04
https://www.process-one.net/en/ejabberd/downloads/
安装完成之后打开终端
输入命令
RuoZZX:~ Ruo$ cd /Applications/ejabberd-16.04/bin/
然后输入
RuoZZX:bin Ruo$ ls
会出现如下所示:
beam epmd postinstall.sh
beam.smp erl preuninstall.sh
child_setup erlc start
ejabberd.init erlexec start.boot
ejabberd.service iex start_clean.boot
ejabberdctl inet_gethost status
elixir mix stop
再输入
RuoZZX:bin Ruo$ ./start