mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
867ce5be32
* doc/guide.tex: Mention as optional Requirements: mysql, pgsql and pam * src/ejabberd_admin.erl: Command reopen-log must also rotate sasl.log (thanks to Alexander Tsvyashchenko)(EJAB-711) * src/ejabberd_logger_h.erl: Export the function rotate_log/1 * doc/guide.tex: Improve explanation of log files rotation * doc/guide.tex: Improve explanation of watchdog admins option: only useful for developers (EJAB-816) * src/ejabberd.cfg.example: Likewise * doc/guide.tex: Say 'higher' instead of 'newer' in requirements * README: Likewise * doc/guide.tex: Simplify example mod_muc configuration SVN Revision: 1732
50 lines
1.3 KiB
Plaintext
50 lines
1.3 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 R10B-9 or higher
|
|
- 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.
|
|
- GNU Iconv 1.8 or higher, for the IRC Transport
|
|
(mod_irc). Optional. Not needed on systems with GNU Libc.
|
|
|
|
|
|
1. Compile and install on *nix systems
|
|
|
|
To compile ejabberd, go to the directory src/ and 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
|