2006-12-16 14:57:37 +01:00
|
|
|
ejabberd - High-Performance Enterprise Instant Messaging Server
|
2014-04-29 23:54:14 +02:00
|
|
|
---------------------------------------------------------------
|
2006-12-16 14:57:37 +01:00
|
|
|
|
|
|
|
Quickstart guide
|
2014-04-29 23:54:14 +02:00
|
|
|
================
|
2006-12-16 14:57:37 +01:00
|
|
|
|
|
|
|
|
2008-02-20 20:07:19 +01:00
|
|
|
0. Requirements
|
2014-04-29 23:54:14 +02:00
|
|
|
---------------
|
2008-02-20 20:07:19 +01:00
|
|
|
|
|
|
|
To compile ejabberd you need:
|
2014-04-29 23:54:14 +02:00
|
|
|
|
2006-12-16 14:57:37 +01:00
|
|
|
- GNU Make
|
|
|
|
- GCC
|
2009-04-14 20:31:29 +02:00
|
|
|
- Libexpat 1.95 or higher
|
2014-06-03 13:00:17 +02:00
|
|
|
- Libyaml 0.1.4 or higher
|
2013-04-11 17:12:53 +02:00
|
|
|
- Erlang/OTP R15B or higher.
|
2010-07-01 17:01:13 +02:00
|
|
|
- OpenSSL 0.9.8 or higher, for STARTTLS, SASL and SSL encryption.
|
2008-02-20 20:07:19 +01:00
|
|
|
- Zlib 1.2.3 or higher, for Stream Compression support
|
|
|
|
(XEP-0138). Optional.
|
2009-04-14 20:31:29 +02:00
|
|
|
- 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.
|
2008-02-20 20:07:19 +01:00
|
|
|
|
|
|
|
|
|
|
|
1. Compile and install on *nix systems
|
2014-04-29 23:54:14 +02:00
|
|
|
--------------------------------------
|
2006-12-16 14:57:37 +01:00
|
|
|
|
2013-04-08 11:12:54 +02:00
|
|
|
To compile ejabberd execute the commands:
|
2014-04-29 23:54:14 +02:00
|
|
|
|
|
|
|
./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):
|
|
|
|
|
2014-04-29 23:54:14 +02:00
|
|
|
sudo make install
|
2006-12-16 14:57:37 +01:00
|
|
|
|
|
|
|
These commands will:
|
2014-04-29 23:54:14 +02:00
|
|
|
|
|
|
|
- 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/`
|
2008-02-20 20:07:19 +01:00
|
|
|
|
2006-12-16 14:57:37 +01:00
|
|
|
|
2008-02-20 20:07:19 +01:00
|
|
|
2. Start ejabberd
|
2014-04-29 23:54:14 +02:00
|
|
|
-----------------
|
2006-12-16 14:57:37 +01:00
|
|
|
|
2014-04-29 23:54:14 +02:00
|
|
|
You can use the `ejabberdctl` command line administration script to
|
2008-02-20 20:07:19 +01:00
|
|
|
start and stop ejabberd. For example:
|
2006-12-16 14:57:37 +01:00
|
|
|
|
2014-04-29 23:54:14 +02:00
|
|
|
ejabberdctl start
|
|
|
|
|
|
|
|
|
|
|
|
For detailed information please refer to the [ejabberd Installation and
|
|
|
|
Operation Guide][1].
|
2006-12-16 14:57:37 +01:00
|
|
|
|
2014-04-29 23:54:14 +02:00
|
|
|
[1]: http://www.process-one.net/docs/ejabberd/guide_en.html
|