From: Christophe Romain
The installer will deploy and configure a full featured ejabberd -server and does not require any extra dependencies.
+server and does not require any extra dependencies.The installer must be set executable and started. Example: +
wget http://www.process-one.net/downloads/ejabberd/1.1.4/ejabberd-1.1.4_2-linux-x86-installer.bin + chmod +x ejabberd-1.1.4_2-linux-x86-installer.bin + ./ejabberd-1.1.4_2-linux-x86-installer.bin +
Some Operating Systems provide a specific ejabberd package adapted to your system architecture and libraries, which also checks dependencies and performs basic configuration tasks like creating the initial @@ -381,18 +385,21 @@ To get the full list run the command:
You can use the ejabberdctl command line administration script to start and stop ejabberd. -You must execute this program with root access. For example: -
$ sudo ejabberdctl start +This script is located into tools directory of sources archive. If you installed ejabberd from sources, +ejabberdctl is located into destination sbin directory (default /usr/local/sbin). If you installed +ejabberd with the installer, ejabberdctl is located into ejabberd’s bin directory.-Usage example: +
$ ejabberdctl start -$ sudo ejabberdctl status +$ ejabberdctl status Node ejabberd@localhost is started. Status: started ejabberd is running -$ sudo ejabberdctl stop - -$ +$ ejabberdctl stopPlease refer to the section 4.1 for details about ejabberdctl, -and configurable options to fine tune the Erlang runtime system.
+and configurable options to fine tune the Erlang runtime system.Note: if you installed ejabberd with your distribution packaging system, ejabberdctl should be called +by an /etc/init.d/ejabberd script to allow you to start and stop ejabberd as a service at boot time.
If you installed ejabberd using CEAN package, you will have to create your own ejabberd start +script depending of how you handle your CEAN installation. The default ejabberdctl script is located +into ejabberd’s priv directory and can be used as an example.
2.4.6 Specific Notes for BSD
The command to compile ejabberd in BSD systems is: @@ -564,8 +571,8 @@ instead of defining each option with the syntax {host_config, "two.example.org", [{{add, modules}, [ {mod_echo, [{host, "mirror.two.example.org"}]} ]}]}. -
+ +
The option listen defines for which addresses and ports ejabberd will listen and what services will be run on them. Each element of the list is a @@ -580,7 +587,7 @@ The available modules, their purpose and the options allowed by each one are:
ejabberd_c2s | Description | Handles c2s connections. | ||||||||||||||||||||||||||||||||||||
Options | access, certfile, inet6, -ip, max_stanza_size, shaper, ssl, +ip, max_stanza_size, shaper, starttls, starttls_required, tls, zlib | |||||||||||||||||||||||||||||||||||||
ejabberd_s2s_in | Description | Handles incoming s2s
@@ -641,10 +648,6 @@ use this option: {request_handlers, [{["a", "b"], mod_foo}, {["http-bind"],
mod_muc_log | Multi-User Chat room logging | mod_muc | No | mod_offline | Offline message storage | | No | mod_offline_odbc | Offline message storage | supported database (*) | No | mod_privacy | Blocking Communication | | Yes | mod_privacy | Blocking Communications | | Yes | mod_privacy_odbc | Blocking Communications | supported database (*) | Yes | mod_private | Private XML Storage (XEP-0049) | | No | mod_private_odbc | Private XML Storage (XEP-0049) | supported database (*) | No | mod_proxy65 | SOCKS5 Bytestreams (XEP-0065) | | No | You can find more contributed modules on the ejabberd website. Please remember that these contributions might not work or @@ -2282,7 +2287,10 @@ To log all end user packets to the Bandersnatch service running on create groups of people that can see members from (other) groups in their rosters. The big advantages of this feature are that end users do not need to manually add all users to their rosters, and that they cannot permanently delete -users from the shared roster groups. Shared roster groups can be edited only via the web interface. Each group +users from the shared roster groups. +A shared roster group can have members from any Jabber server, +but the presence will only be available from and to members +of the same virtual host where the group is created. Shared roster groups can be edited only via the web interface. Each group has a unique identification and the following parameters:
Examples: diff --git a/doc/guide.tex b/doc/guide.tex index 75b189547..57d2249c6 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -191,6 +191,13 @@ ejabberd Process-one The installer will deploy and configure a full featured ejabberd server and does not require any extra dependencies. +The installer must be set executable and started. Example: +\begin{verbatim} + wget http://www.process-one.net/downloads/ejabberd/1.1.4/ejabberd-1.1.4_2-linux-x86-installer.bin + chmod +x ejabberd-1.1.4_2-linux-x86-installer.bin + ./ejabberd-1.1.4_2-linux-x86-installer.bin +\end{verbatim} + \section{Installing ejabberd with Operating System specific packages} Some Operating Systems provide a specific ejabberd package adapted to @@ -207,7 +214,6 @@ packages from many Erlang programs, including ejabberd and all its dependencies. The binaries are available for many different system architectures, so this is an alternative to the binary installer and Operating System's ejabberd packages. - \section{Installing ejabberd from Source Code} \label{installation} \ind{install} @@ -324,21 +330,29 @@ The files and directories created are, by default: \ind{install!start} You can use the \term{ejabberdctl} command line administration script to start and stop ejabberd. -You must execute this program with root access. For example: +This script is located into tools directory of sources archive. If you installed ejabberd from sources, +\term{ejabberdctl} is located into destination sbin directory (default /usr/local/sbin). If you installed +ejabberd with the installer, \term{ejabberdctl} is located into ejabberd's bin directory. + +Usage example: \begin{verbatim} -$ sudo ejabberdctl start +$ ejabberdctl start -$ sudo ejabberdctl status +$ ejabberdctl status Node ejabberd@localhost is started. Status: started ejabberd is running -$ sudo ejabberdctl stop - -$ +$ ejabberdctl stop \end{verbatim} Please refer to the section~\ref{ejabberdctl} for details about \term{ejabberdctl}, and configurable options to fine tune the Erlang runtime system. +Note: if you installed ejabberd with your distribution packaging system, \term{ejabberdctl} should be called +by an /etc/init.d/ejabberd script to allow you to start and stop ejabberd as a service at boot time. + +If you installed ejabberd using CEAN package, you will have to create your own ejabberd start +script depending of how you handle your CEAN installation. The default \term{ejabberdctl} script is located +into ejabberd's priv directory and can be used as an example. \subsection{Specific Notes for BSD} \label{bsd} |