aboutsummaryrefslogtreecommitdiff
path: root/README
blob: 8712de6fa59bd5221c8f93da860a74be9af0a181 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
ejabberd - High-Performance Enterprise Instant Messaging Server 

Quickstart guide

0. Dependancies

To build ejabberd, you need:
 - GNU Make
 - GCC
 - libexpat 1.95 or higher
 - Erlang/OTP R9C-2 or higher
 - OpenSSL 0.9.6 or higher (optional)
 - Zlib 1.2.3 or higher (optional)
 - GNU Iconv 1.8 or higher (optional, not needed on systems with GNU libc)

1. Build and install on *nix systems

To build ejabberd, please go into the src directory and type the 
following commands:
 ./configure && make
 sudo make install

These commands will:
 - install a startup script into the directory /usr/sbin,
 - install ejabberd into the directory /var/lib/ejabberd,
 - install the configuration file into /etc/ejabberd,
 - create a directory called /var/log/ejabberd to store log files.

Note: "sudo make install" means that the "make install" command should
      be run with system administrator rights (root).

2. Run

To run ejabberd, type the following command:
 erl -pa /var/lib/ejabberd/ebin -sname ejabberd -s ejabberd

For detailled informations, please refer to:
http://www.process-one.net/en/projects/ejabberd/docs/guide_en.html