root/tags/jabberd-2.1.4/README

Revision 148, 6.3 KB (checked in by smoku, 20 months ago)

updated README

Line 
1README for Jabber Open Source Server (2.1)
2
3Thanks for downloading jabberd 2.1. Below are some basic instructions to
4get you started. Complete documentation is available at
5http://jabberd2.xiaoka.com/
6
7-- the jabberd team
8
9
10Required packages:
11
12 - expat - XML parsing libraries
13     http://expat.sourceforge.net/
14 - Cyrus SASL - Simple Authentication and Security Layer library
15     http://asg.web.cmu.edu/sasl/
16
17Optional packages:
18
19 - GNU Libidn (0.3.0 or higher) - needed for JID canonicalisation
20     http://www.gnu.org/software/libidn/
21 - OpenSSL (0.9.6b or higher) - needed for SSL/TLS support
22     http://www.openssl.org/news/
23 - Berkeley DB (4.1.24 or higher)
24     http://www.sleepycat.com/download/
25 - OpenLDAP (2.1.0 or higher)
26     http://www.openldap.org/software/download/
27 - PostgresSQL (development libraries and headers)
28     http://www.postgresql.org/
29 - MySQL (development libraries and headers)
30     http://www.mysql.com/
31 - PAM
32     http://www.linux-pam.org/  (for Linux)
33 - SQLite (3.0 or higher)
34     http://www.sqlite.org/
35
36
37Build:
38
39  % ./configure
40  % make
41  % make install
42
43Options to ./configure:
44
45  --prefix=/path/to/install
46      Where to install everything
47
48  --enable-idn (default: enabled)
49      Compile with IDN (Stringprep) support
50
51  --enable-ssl (default: enabled)
52      Compile with SSL/TLS support
53
54  --enable-mysql (default: enabled)
55      Compile MySQL auth/reg/storage support
56
57  --enable-pgsql (default: disabled)
58      Compile PostgreSQL auth/reg/storage support
59
60  --enable-db (default: disabled)
61      Compile Berkeley DB auth/reg/storage support
62
63  --enable-sqlite (default: disabled)
64      Compile SQLite storage support
65
66  --enable-ldap (default: disabled)
67      Compile OpenLDAP auth/reg support
68
69  --enable-pam (default: disabled)
70      Compile PAM auth/reg support
71
72  --enable-pipe (default: disabled)
73      Compile pipe auth/reg support
74
75  --enable-anon (default: disabled)
76      Compile anonymous auth support
77
78  --enable-fs (default: disabled)
79      Compile filesystem storage support (NOT RECOMMENDED)
80
81  --enable-mio=BACKEND
82      Specify MIO backend to use (poll or select)
83
84  --with-extra-include-path
85  --with-extra-library-path
86      Add extra header/library search paths
87     
88  --enable-debug (default: disabled)
89      Output debugging info when run with -D
90
91  --enable-nad-debug (default: disabled)
92      Compile with NAD pointer tracking
93
94  --enable-pool-debug (default: disabled)
95      Compile with pool statistics
96
97  --enable-developer (default: disabled)
98      Compile with full warnings and debugging symbols
99
100
101Configure:
102
103  Edit $prefix/etc/(router|sm|c2s|resolver|s2s).xml to taste. In
104  particular, make sure you setup for your choice of data storage
105  correctly. If you're using the Berkeley DB backend, you'll need to
106  create /var/run/jabberd and sets its permissions so that the server
107  processes can find it.
108 
109  If you're using a SQL backend, you'll need to create an account for
110  the server to use, and create the tables. Load db-setup.mysql or
111  db-setup.pgsql from the tools/ directory into your database to do
112  this.
113
114  If you plan to use the jabberd wrapper script, make sure you look at
115  the paths in the $prefix/etc/jabber/jabberd.cfg.
116
117
118Run:
119
120  You can either run all of the pieces separately:
121
122    % $prefix/bin/router &
123    % $prefix/bin/resolver &
124    % $prefix/bin/s2s &
125    % $prefix/bin/sm &
126    % $prefix/bin/c2s &
127
128  Or you can run them all from the jabberd wrapper script:
129
130    % $prefix/jabberd &
131
132All the processes can take the following switches:
133
134    -c use an alternate config file
135    -D output lots of debugging info (if compiled with --enable-debug)
136
137
138Upgrade:
139
140  Please see UPGRADE file.
141
142
143Support:
144
145Webpage: http://jabberd2.xiaoka.com/
146Mailinglist: jabberd2@lists.xiaoka.com
147 (Subscribe by sending mail to jabberd2-subscribe@jabberd2.xiaoka.com)
148
149When requesting assistance, please note that the following things can
150provide useful information which may assist with finding your problem:
151
152 - debug logs (compile with --enable-debug and run with -D)
153 - running components seperately (ie without the wrapper script)
154 - config.log
155
156Please try to provide as much relevant information as possible when
157reporting problems - it will make helping you much easier.
158
159
160Copyright & License:
161 
162 jabberd - Jabber Open Source Server
163 Copyright (c) 2002-2007 Jeremie Miller, Thomas Muldowney,
164                         Ryan Eatmon, Robert Norris, Tomasz Sterna.
165
166 This program is free software; you can redistribute it and/or modify
167 it under the terms of the GNU General Public License as published by
168 the Free Software Foundation; either version 2 of the License, or
169 (at your option) any later version.
170
171 This program is distributed in the hope that it will be useful,
172 but WITHOUT ANY WARRANTY; without even the implied warranty of
173 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
174 GNU General Public License for more details.
175
176 You should have received a copy of the GNU General Public License
177 along with this program; if not, write to the Free Software
178 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307USA
179
180 As a special exception, the authors give permission to link this
181 program with the OpenSSL library and distribute the resulting binary.
182
183
184 Includes Expat (1.95.7).
185 Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
186                                and Clark Cooper.
187 Copyright (c) 2001, 2002 Expat maintainers.
188
189 subst/snprintf.c and util/base64.c were originally taken from the
190 Apache web server project.
191   Originally copyright (c) 1995-2003 Apache Software Foundation.
192 
193 util/md5.c was taken from Ghostscript.
194   Originally copyright (c) 1999-2002 Aladdin Enterprises.
195 
196 util/sha1.c was taken from Mozilla.
197   Originally copyright (c) 1995-1999 Cryptography Research, Inc.
198 
199 subst/getopt.[ch] was taken from GNU Libc.
200   Originally copyright (c) 1987-1993 Free Software Foundation, Inc.
201 
202 subst/gettimeofday.c was taken from PostgreSQL.
203   Originally copyright (c) 2003 SRA, Inc. & SKC, Inc.
204 
205 subst/syslog.[ch] was taken from Bind.
206   Originally copyright (c) 2001 Internet Software Consortium.
207 
208 subst/inet_aton.c
209   Originally copyright (c) 1995-1997 Kungliga Teniska Hogskolan
210 
211 subst/ip6_misc.h
212   Originally copyright (c) 1993,1994,1997 The Regents of the University of California.
213 
214 subst/dirent.[ch]
215   Originally copyright (c) 1997,2003 Kevlin Henney.
Note: See TracBrowser for help on using the browser.