Similar to App-get, or yum, it uses the Software Management tool port on the Mac.
How about sharpening the knife first and installing the port? Visit the following Web site:
https://www.macports.org/install.php
Select your Mac software version and download to install port.
After the port is successfully installed, continue sharpening, Ejabberd is written in Erlang, and then installed in Erlang's operating environment:
$sudo Port Install Erlang
Static and other results, after the installation is completed, check
$erl
ERLANG/OTP [erts-6.4] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [Kernel-poll:false]
Eshell V6.4 (abort with ^g)1>
After the Erlang installation is successful, you can install the Ejabberd:
$sudo Port Install Ejabberd
After the installation is complete, do the following before the first boot:
$CD/opt/local/etc/ejabberd/$cp ejabberd.yml.sample ejabberd.yml$cp ejabberdctl.cfg.sample EJABBERDCTL.CFG$CP Inetrc.sample INETRC
At this point, you can start:
$ejabberdctl start
The next step is to modify the configuration as needed to start the actual combat.
Sharpening: Simple ejabberd environment on Mac