Sharpening: Simple ejabberd environment on Mac

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.