25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00
Go to file
2022-05-02 13:25:18 +02:00
_checkouts/configure_deps Fix typos 2022-01-24 08:02:04 +08:00
.devcontainer Use the new Github container registry 2021-05-12 11:51:40 +02:00
.github Container: New GitHub workflow to build and publish containers 2022-05-02 13:25:18 +02:00
config Switch "make rel" and "make dev" to paths: conf, database, logs 2022-05-02 13:17:53 +02:00
examples Remove old and obsolete examples/transport-configs/ (#3487) 2021-01-27 17:10:56 +01:00
include Update copyright year to 2022 2022-02-11 09:39:25 +01:00
lib Revert "Add workaround so rebar2 can use Elixir 1.12.0" 2021-07-22 15:51:43 +02:00
m4 Do not check for deprecated types 2018-06-14 18:58:35 +03:00
man Update copyright year to 2022 2022-02-11 09:39:25 +01:00
plugins Rename plugin to not clash with plugin from dep 2020-01-08 10:41:48 +01:00
priv Update Chinese translation (thanks to Eric and 52871299hzy) 2021-12-09 10:55:26 +01:00
rel Switch "make rel" and "make dev" to paths: conf, database, logs 2022-05-02 13:17:53 +02:00
sql Sync old-to-new schema script with reality (#3790) 2022-03-08 13:56:27 +01:00
src mod_push: Keep push session ID on session resume 2022-05-02 01:54:42 +02:00
test Update copyright year to 2022 2022-02-11 09:39:25 +01:00
tools Support Erlang 25 in "make options": returns attribute with simpler syntax 2022-02-24 01:02:51 +01:00
.dockerignore add docker support 2016-11-16 11:48:50 +01:00
.gitignore Add support to build release with back to old Elixir 1.10.3 2021-07-16 13:36:27 +02:00
.shellcheckrc Disable some shellcheck warnings 2021-12-23 13:57:06 +01:00
autogen.sh Force regeneration of configure script 2014-04-18 12:13:17 +02:00
CHANGELOG.md Fix typos 2022-01-24 08:02:04 +08:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2018-01-09 14:17:55 +01:00
configure.ac Set default ejabberd version number when not using git 2022-05-02 13:17:50 +02:00
configure.bat Switch to rebar build tool 2013-06-13 11:11:02 +02:00
CONTRIBUTING.md Remove .travis.yml as it's superseded by ci.yml (#3613) 2021-05-25 19:16:06 +02:00
CONTRIBUTORS.md CONTRIBUTORS: UTF-8 encode my name 2018-11-19 15:23:35 +01: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
ejabberd.init.template Replace Jabber->XMPP and Ejabberd (thanks to Neustradamus)(#3469) 2021-01-11 21:11:20 +01:00
ejabberd.service.template Use the configured user in systemd's ejabberd.service 2021-10-21 16:12:38 +02:00
ejabberd.yml.example New listener for encrypted ejabberd_c2s 2021-02-02 15:25:19 +01:00
ejabberdctl.cfg.example Remove SMP option from ejabberdctl.cfg, -smp was removed in OTP 21 (#3560) 2021-04-15 20:28:43 +02:00
ejabberdctl.template Switch "make rel" and "make dev" to paths: conf, database, logs 2022-05-02 13:17:53 +02: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 Fix 'make xref' when using Mix; notice it only checks Elixir files 2022-05-02 13:20:52 +02:00
mix.exs Switch "make rel" and "make dev" to paths: conf, database, logs 2022-05-02 13:17:53 +02:00
mix.lock Update hex deps 2022-05-02 13:06:40 +02:00
README.md Remove reference to the obsolete Vagrant environment 2022-01-25 13:46:27 +01:00
rebar Update rebar2 binary, works from Erlang/OTP 22 to 25 2022-05-02 13:20:52 +02:00
rebar3 Update rebar3 binary, works from Erlang/OTP 22 to 25 2022-05-02 13:20:52 +02:00
rebar.config Switch "make rel" and "make dev" to paths: conf, database, logs 2022-05-02 13:17:53 +02:00
rebar.config.script Update copyright year to 2022 2022-02-11 09:39:25 +01:00
vars.config.in Switch "make rel" and "make dev" to paths: conf, database, logs 2022-05-02 13:17:53 +02:00

ejabberd Community Edition

CI Coverage Status Translation 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.
    • Docker packaging to help with deploy / development on Linux, Windows or MacOS.
    • Deb and RPM packaging to support most Linux distributions.
    • 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 XMPP 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).
    • 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.
  • Libyaml ≥ 0.1.4.
  • Erlang/OTP ≥ 19.3.
  • OpenSSL ≥ 1.0.0.
  • Zlib ≥ 1.2.3, for Stream Compression support (XEP-0138). Optional.
  • PAM library. Optional. For Pluggable Authentication Modules (PAM).
  • ImageMagick's Convert program and Ghostscript fonts. Optional. For CAPTCHA challenges.
  • Elixir ≥ 1.10.3. Optional. Alternative to build ejabberd

If your system splits packages in libraries and development headers, you must install the development packages also.

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 (In this case you need autoconf installed).

./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 Documentation

3. Use ejabberd locally

Alternatively, you can setup ejabberd without installing in your system:

./configure --with-rebar=rebar3
make dev

Or, if you have Elixir available and plan to develop Elixir code:

./configure --with-rebar=mix
make dev

Check the full list of targets:

make help

Translation

Using any gettext editor, you can improve the translation files found in priv/msgs/*.po, and then submit your changes.

Alternatively, a simple way to improve translations is using our Weblate project: https://hosted.weblate.org/projects/ejabberd/ejabberd-po/