25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00
Go to file
2017-05-30 12:37:27 +02:00
.github Apply cosmetic changes to GitHub templates 2016-03-15 00:12:01 +01:00
.travis Travis CI: Update MySQL APT repository key 2017-02-20 21:17:34 +01:00
asn1 Remove obsolete/temp file 2016-11-16 14:18:51 +01:00
config Support for Elixir configuration file #1208 2016-09-08 11:37:14 +02:00
contrib/extract_translations Don't require ejabberd to be installed to run "make translations" 2016-05-06 13:47:02 +02:00
docker Fix typo 2017-04-26 17:35:51 +09:00
examples Update example extauth script with tryregister, removeuser and removeuser3 (EJAB-641) 2010-12-03 17:26:10 +01:00
include Implement cache for mod_privacy/mod_blocking 2017-05-20 22:36:32 +03:00
lib Support for Elixir configuration file #1208 2016-09-08 11:37:14 +02:00
m4 Add SQLite3 library checks at the configure script 2015-04-08 14:49:14 +03:00
plugins Add plugin for passing extra erl_opts flags to deps, and use it for hipe 2015-12-16 12:23:13 +01:00
priv/msgs Fixes pt-br translation (thanks to Rodrigues)(#1393) 2016-11-30 16:51:42 +01:00
rel Update copyright date automatically (#1442) 2017-01-02 21:42:06 +01:00
sql Clean up database code related to mod_vcard_xupdate 2017-05-17 19:29:19 +03:00
src Parse correctly presence_broadcast option in change_room_option command 2017-05-29 12:49:53 +02:00
test Implement cache for mod_privacy/mod_blocking 2017-05-20 22:36:32 +03:00
tools tools/hook_deps.sh: Search for escript in PATH 2017-02-23 17:38:56 +01:00
win32 Switch to rebar build tool 2013-06-13 11:11:02 +02:00
.dockerignore add docker support 2016-11-16 11:48:50 +01:00
.gitignore Tell git to ignore the example file ejabberd.service 2016-11-16 13:12:57 +01:00
.travis.yml Travis CI: Update MySQL package 2017-04-11 13:52:10 +02:00
autogen.sh Force regeneration of configure script 2014-04-18 12:13:17 +02:00
configure.ac Introduce --enable-stun and --enable-sip configure options 2017-05-23 13:12:48 +03:00
configure.bat Switch to rebar build tool 2013-06-13 11:11:02 +02:00
COPYING Update FSF address 2014-02-22 10:27:40 +00:00
cover.spec Add Coveralls support 2016-03-21 12:01:20 +01:00
Dockerfile Update Dockerfile to be able to build 17.04 ejabberd version 2017-04-25 09:35:07 +02:00
ejabberd.init.template Fix init script: use getent to allow ejabberd user from external authentication sources (LDAP) 2014-09-17 21:28:50 +02:00
ejabberd.service.template Specify "ExecReload" command in systemd unit 2017-02-23 18:16:56 +01:00
ejabberd.yml.example Improve S2S examples (#1583) 2017-04-07 11:12:27 +02:00
ejabberdctl.cfg.example ejabberdctl.cfg: Document CONTRIB_MODULES_CONF_DIR 2015-10-26 22:46:58 +01:00
ejabberdctl.template Remove bashismes from ejabberdctl 2016-11-21 15:25:58 +01:00
inetrc Switch to rebar build tool 2013-06-13 11:11:02 +02:00
install-sh Switch to rebar build tool 2013-06-13 11:11:02 +02:00
Makefile.in Remove webtool from erlang.plt creation 2017-03-20 13:48:17 +03:00
mix.exs Mix needs include path to p1_utils 2017-03-28 16:08:10 +02:00
mix.lock Update mix dependencies 2017-03-22 11:59:39 +01:00
README State that Erlang 17.5 or higher is only supported 2017-05-08 15:10:42 +03:00
README.md Convert README to Markdown 2014-04-29 23:54:14 +02:00
rebar Ignore warnings_as_errors everywhere 2015-01-15 13:49:24 +03:00
rebar.config Introduce --enable-stun and --enable-sip configure options 2017-05-23 13:12:48 +03:00
rebar.config.script Shut up dialyzer/xref if public_key:short_name_hash/1 is not available 2017-05-13 13:11:08 +03:00
vars.config.in Introduce --enable-stun and --enable-sip configure options 2017-05-23 13:12:48 +03:00

ejabberd Community Edition

Build Status Hex version

ejabberd is a distributed, fault-tolerant technology that allows the creation of large-scale instant messaging applications. The server can reliably support thousands of simultaneous users on a single node and has been designed to provide exceptional standards of fault tolerance. As an open source technology, based on industry-standards, ejabberd can be used to build bespoke solutions very cost effectively.

Key Features

  • Cross-platform
    ejabberd runs under Microsoft Windows and Unix-derived systems such as Linux, FreeBSD and NetBSD.

  • Distributed
    You can run ejabberd on a cluster of machines and all of them will serve the same XMPP domain(s). When you need more capacity you can simply add a new cheap node to your cluster. Accordingly, you do not need to buy an expensive high-end machine to support tens of thousands concurrent users.

  • Fault-tolerant
    You can deploy an ejabberd cluster so that all the information required for a properly working service will be replicated permanently on all nodes. This means that if one of the nodes crashes, the others will continue working without disruption. In addition, nodes also can be added or replaced on the fly.

  • Administrator-friendly
    ejabberd is built on top of the Open Source Erlang. As a result you do not need to install an external database, an external web server, amongst others because everything is already included, and ready to run out of the box. Other administrator benefits include:

    • Comprehensive documentation.
    • Straightforward installers for Linux and Mac OS X.
    • Web administration.
    • Shared roster groups.
    • Command line administration tool.
    • Can integrate with existing authentication mechanisms.
    • Capability to send announce messages.
  • Internationalized
    ejabberd leads in internationalization. Hence it is very well suited in a globalized world. Related features are:

    • Translated to 25 languages.
    • Support for IDNA.
  • Open Standards
    ejabberd is the first Open Source Jabber server claiming to fully comply to the XMPP standard.

    • Fully XMPP-compliant.
    • XML-based protocol.
    • Many protocols supported.

Additional Features

Moreover, ejabberd comes with a wide range of other state-of-the-art features:

  • Modularity

    • Load only the modules you want.
    • Extend ejabberd with your own custom modules.
  • Security

    • SASL and STARTTLS for c2s and s2s connections.
    • STARTTLS and Dialback s2s connections.
    • Web Admin accessible via HTTPS secure access.
  • Databases

    • Internal database for fast deployment (Mnesia).
    • Native MySQL support.
    • Native PostgreSQL support.
    • ODBC data storage support.
    • Microsoft SQL Server support.
  • Authentication

    • Internal authentication.
    • PAM, LDAP and ODBC.
    • External authentication script.
  • Others

    • Support for virtual hosting.
    • Compressing XML streams with Stream Compression (XEP-0138).
    • Statistics via Statistics Gathering (XEP-0039).
    • IPv6 support both for c2s and s2s connections.
    • Multi-User Chat module with support for clustering and HTML logging.
    • Users Directory based on users vCards.
    • Publish-Subscribe component with support for Personal Eventing.
    • Support for web clients: HTTP Polling and HTTP Binding (BOSH).
    • IRC transport.
    • Component support: interface with networks such as AIM, ICQ and MSN.

Quickstart guide

0. Requirements

To compile ejabberd you need:

  • GNU Make.
  • GCC.
  • Libexpat 1.95 or higher.
  • Libyaml 0.1.4 or higher.
  • Erlang/OTP 17.5 or higher.
  • OpenSSL 1.0.0 or higher, for STARTTLS, SASL and SSL encryption.
  • Zlib 1.2.3 or higher, for Stream Compression support (XEP-0138). Optional.
  • PAM library. Optional. For Pluggable Authentication Modules (PAM).
  • GNU Iconv 1.8 or higher, for the IRC Transport (mod_irc). Optional. Not needed on systems with GNU Libc.
  • ImageMagick's Convert program. Optional. For CAPTCHA challenges.

1. Compile and install on *nix systems

To compile ejabberd, execute the following commands. The first one is only necessary if your source tree didn't come with a configure script.

./autogen.sh
./configure
make

To install ejabberd, run this command with system administrator rights (root user):

sudo make install

These commands will:

  • Install the configuration files in /etc/ejabberd/
  • Install ejabberd binary, header and runtime files in /lib/ejabberd/
  • Install the administration script: /sbin/ejabberdctl
  • Install ejabberd documentation in /share/doc/ejabberd/
  • Create a spool directory: /var/lib/ejabberd/
  • Create a directory for log files: /var/log/ejabberd/

2. Start ejabberd

You can use the ejabberdctl command line administration script to start and stop ejabberd. For example:

ejabberdctl start

For detailed information please refer to the ejabberd Installation and Operation Guide available online and in the doc directory of the source tarball.

Development

In order to assist in the development of ejabberd, and particularly the execution of the test suite, a Vagrant environment is available at https://github.com/processone/ejabberd-vagrant-dev.

To start ejabberd in development mode from the repository directory, you can type a command like:

EJABBERD_CONFIG_PATH=ejabberd.yml erl -pa ebin -pa deps/*/ebin -pa test -pa deps/elixir/lib/*/ebin/ -s ejabberd