From: Josh Stompro Date: Tue, 21 Apr 2015 14:50:49 +0000 (-0500) Subject: LP#1445503 - Updated Ejabberd setup steps for Ejabberd 14.x for Debian Jessie X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fstompro%2Flp1445503_docs_debian_jessie;p=working%2FOpenSRF.git LP#1445503 - Updated Ejabberd setup steps for Ejabberd 14.x for Debian Jessie Signed-off-by: Josh Stompro --- diff --git a/README b/README index 38aff45..1328cfe 100644 --- a/README +++ b/README @@ -188,7 +188,10 @@ work for OpenSRF. systemctl stop ejabberd.service --------------------------------------------------------------------------- + -2. Open `/etc/ejabberd/ejabberd.cfg` and make the following +2. Edit the ejabberd config file. ++ +Ejabberd 2.x.x, Debian Wheezy, Ubuntu Trusty & Precise:: +Open `/etc/ejabberd/ejabberd.cfg` and make the following changes: a. Define your public and private domains in the `hosts` directive. For example: @@ -202,6 +205,29 @@ changes: d. Increase the `max_user_sessions` value to 10000 e. Comment out the `mod_offline` directive + +Ejabberd 13.x and 14.x, Debian Jessie:: +Open `/etc/ejabberd/ejabberd.yml` and make the following +changes: + a. Define your public and private domains in the `hosts` directive. For + example: ++ +--------------------------------------------------------------------------- +hosts: + - "localhost" + - "private.localhost" + - "public.localhost" +--------------------------------------------------------------------------- ++ + b. Change all `max_stanza_size` values to 2000000 + c. Change `shaper:` `normal` and `fast` values to 500000 + d. Increase the `max_user_sessions:` `all:` value to 10000 + e. Comment out the `mod_offline` directive ++ +----------------------- +##mod_offline: + ## access_max_user_messages: max_user_offline_messages +----------------------- ++ 3. Restart the ejabberd server to make the changes take effect: + .(Debian / Ubuntu) Starting ejabberd