2006-12-16 14:57:37 +01:00
|
|
|
ejabberd - High-Performance Enterprise Instant Messaging Server
|
|
|
|
|
|
|
|
Quickstart guide
|
|
|
|
|
|
|
|
|
2008-02-20 20:07:19 +01:00
|
|
|
0. Requirements
|
|
|
|
|
|
|
|
To compile ejabberd you need:
|
2006-12-16 14:57:37 +01:00
|
|
|
- GNU Make
|
|
|
|
- GCC
|
2009-04-14 20:31:29 +02:00
|
|
|
- Libexpat 1.95 or higher
|
|
|
|
- Erlang/OTP R10B-9 or higher. The recommended version is R12B-5.
|
2009-05-15 15:38:14 +02:00
|
|
|
Support for R13 is experimental.
|
2008-02-20 20:07:19 +01:00
|
|
|
- OpenSSL 0.9.6 or higher, for STARTTLS, SASL and SSL
|
|
|
|
encryption. Optional, highly recommended.
|
|
|
|
- Zlib 1.2.3 or higher, for Stream Compression support
|
|
|
|
(XEP-0138). Optional.
|
2009-04-14 20:31:29 +02:00
|
|
|
- Erlang mysql library. Optional. MySQL authentication/storage.
|
|
|
|
- Erlang pgsql library. Optional. PostgreSQL authentication/storage.
|
|
|
|
- PAM library. Optional. For Pluggable Authentication Modules (PAM).
|
2008-02-20 20:07:19 +01:00
|
|
|
- GNU Iconv 1.8 or higher, for the IRC Transport
|
|
|
|
(mod_irc). Optional. Not needed on systems with GNU Libc.
|
2010-02-05 12:37:08 +01:00
|
|
|
- ImageMagick's Convert program. Optional. For CAPTCHA challenges.
|
2010-01-12 16:52:46 +01:00
|
|
|
- exmpp 0.9.2 or higher. Optional. For import/export XEP-0227 files.
|
2008-02-20 20:07:19 +01:00
|
|
|
|
|
|
|
|
|
|
|
1. Compile and install on *nix systems
|
2006-12-16 14:57:37 +01:00
|
|
|
|
2008-02-20 20:07:19 +01:00
|
|
|
To compile ejabberd, go to the directory src/ and execute the commands:
|
|
|
|
./configure
|
|
|
|
make
|
2006-12-16 14:57:37 +01:00
|
|
|
|
2008-02-20 20:07:19 +01:00
|
|
|
To install ejabberd, run this command with system administrator rights
|
|
|
|
(root user):
|
|
|
|
|
|
|
|
sudo make install
|
2006-12-16 14:57:37 +01:00
|
|
|
|
|
|
|
These commands will:
|
2008-02-20 20:07:19 +01:00
|
|
|
- Install the configuration files in /etc/ejabberd/
|
2008-07-31 13:35:27 +02:00
|
|
|
- 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/
|
2008-02-20 20:07:19 +01:00
|
|
|
- Create a directory for log files: /var/log/ejabberd/
|
|
|
|
|
2006-12-16 14:57:37 +01:00
|
|
|
|
2008-02-20 20:07:19 +01:00
|
|
|
2. Start ejabberd
|
2006-12-16 14:57:37 +01:00
|
|
|
|
2008-02-20 20:07:19 +01:00
|
|
|
You can use the ejabberdctl command line administration script to
|
|
|
|
start and stop ejabberd. For example:
|
|
|
|
ejabberdctl start
|
2006-12-16 14:57:37 +01:00
|
|
|
|
|
|
|
|
2008-02-20 20:07:19 +01:00
|
|
|
For detailed information please refer to the
|
|
|
|
ejabberd Installation and Operation Guide
|