mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
4d8f770624
Use dynamic Rebar configuration Make iconv dependency optional Disable transient_supervisors compile option Add hipe compilation support Only compile ibrowse and lhttpc when needed Make it possible to generate an OTP application release Add --enable-debug compile option Add --enable-all compiler option Add --enable-tools configure option Add --with-erlang configure option. Add --enable-erlang-version-check configure option. Add lager support Improve the test suite
52 lines
1.5 KiB
Plaintext
52 lines
1.5 KiB
Plaintext
ejabberd - High-Performance Enterprise Instant Messaging Server
|
|
|
|
Quickstart guide
|
|
|
|
|
|
0. Requirements
|
|
|
|
To compile ejabberd you need:
|
|
- GNU Make
|
|
- GCC
|
|
- Libexpat 1.95 or higher
|
|
- Erlang/OTP R15B or higher.
|
|
- OpenSSL 0.9.8 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.
|
|
- exmpp 0.9.6 or higher. Optional. For import/export XEP-0227 files.
|
|
|
|
|
|
1. Compile and install on *nix systems
|
|
|
|
To compile ejabberd execute the commands:
|
|
./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
|