From 884e00c41abd33ed8785acc1bc5958fd027a0807 Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Thu, 20 Sep 2018 11:34:45 -0400 Subject: [PATCH] Update README to include Bionic steps Note the use of mod_legacy_auth in ejabberd 18.x version for Ubuntu Bionic Signed-off-by: Ben Shum Signed-off-by: Jason Stephenson Signed-off-by: Galen Charlton --- README | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/README b/README index 414cce8..a3091d4 100644 --- a/README +++ b/README @@ -68,6 +68,7 @@ Well-tested values for include: * `debian-jessie` for Debian 8 * `ubuntu-trusty` for Ubuntu 14.04 * `ubuntu-xenial` for Ubuntu 16.04 + * `ubuntu-bionic` for Ubuntu 18.04 Patches and suggestions for improvement from users of these distributions, or others, are welcome! @@ -212,7 +213,7 @@ work for OpenSRF. /etc/init.d/ejabberd stop --------------------------------------------------------------------------- + -.(Debian / Ubuntu Xenial) Stopping ejabberd +.(Debian / Ubuntu Xenial / Ubuntu Bionic) Stopping ejabberd [source, bash] --------------------------------------------------------------------------- systemctl stop ejabberd.service @@ -282,6 +283,32 @@ hosts: ##access_max_user_messages: max_user_offline_messages ----------------------- + +(Ubuntu Bionic) Ejabberd 18.x:: +Open `/etc/ejabberd/ejabberd.yml` and make the following +changes: + a. Define your public and private domains in the `hosts` directive. For + example: ++ +[source, bash] +--------------------------------------------------------------------------- +hosts: + - "localhost" + - "private.localhost" + - "public.localhost" +--------------------------------------------------------------------------- ++ + b. Change `auth_password_format` to plain + c. Change `shaper:` `normal` and `fast` values to 500000 + d. Increase the `max_user_sessions:` `all:` value to 10000 + e. Change `starttls_required` to false + f. Uncomment the `mod_legacy_auth` directive + g. 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: + .(Ubuntu Trusty) Starting ejabberd @@ -290,7 +317,7 @@ hosts: /etc/init.d/ejabberd start --------------------------------------------------------------------------- + -.(Debian / Ubuntu Xenial) Starting ejabberd +.(Debian / Ubuntu Xenial / Ubuntu Bionic) Starting ejabberd [source, bash] --------------------------------------------------------------------------- systemctl start ejabberd.service -- 2.43.2