* `debian-jessie` for Debian 8
* `ubuntu-xenial` for Ubuntu 16.04
* `ubuntu-bionic` for Ubuntu 18.04
+ * `ubuntu-focal` for Ubuntu 20.04
Patches and suggestions for improvement from users of these distributions,
or others, are welcome!
1. Stop ejabberd before making any changes to its configuration by issuing the
following command as the *root* Linux account:
+
-.(Debian / Ubuntu Xenial / Ubuntu Bionic) Stopping ejabberd
+.(Debian / Ubuntu Xenial / Ubuntu Bionic / Ubuntu Focal) Stopping ejabberd
[source, bash]
---------------------------------------------------------------------------
systemctl stop ejabberd.service
##access_max_user_messages: max_user_offline_messages
-----------------------
+
-(Debian Buster / Ubuntu Bionic) Ejabberd 18.x::
+(Debian Buster / Ubuntu Bionic / Ubuntu Focal) 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
+
3. Restart the ejabberd server to make the changes take effect:
+
-.(Debian / Ubuntu Xenial / Ubuntu Bionic) Starting ejabberd
+.(Debian / Ubuntu Xenial / Ubuntu Bionic / Ubuntu Focal) Starting ejabberd
[source, bash]
---------------------------------------------------------------------------
systemctl start ejabberd.service
# Makefile to install prerequisites for OpenSRF
#
# Currently supports Debian (jessie/stretch) and Ubuntu
-# (xenial/bionic)
+# (xenial/bionic/focal)
#
# Installs Perl prereqs, libjs with Perl wrapper
#
# - or -
# make -f Makefile.install ubuntu-bionic
# - or -
+# make -f Makefile.install ubuntu-focal
+# - or -
# make -f Makefile.install fedora
#
# ---------------------------------------------------------------------
apache2-dev \
libncurses5-dev
-EXTRA_DEBS_UBUNTU_XENIAL = \
- apache2 \
- apache2-dev \
- libncurses5-dev
-
-EXTRA_DEBS_UBUNTU_BIONIC = \
+EXTRA_DEBS_UBUNTU = \
apache2 \
apache2-dev \
libncurses5-dev
fedora: install_fedora_rpms
-ubuntu-xenial: generic_ubuntu xenial apache_mpm_prefork_mods apache_perl_mod
-ubuntu-bionic: generic_ubuntu bionic apache_mpm_prefork_mods apache_perl_mod
-xenial: install_extra_debs install_extra_debs_xenial debian_sys_config
-bionic: install_extra_debs install_extra_debs_bionic debian_sys_config
-generic_ubuntu: install_debs
+ubuntu-xenial: generic_ubuntu
+ubuntu-bionic: generic_ubuntu
+ubuntu-focal: generic_ubuntu
+generic_ubuntu: install_debs install_extra_debs install_extra_debs_ubuntu \
+ debian_sys_config apache_mpm_prefork_mods apache_perl_mod
# ------------------------------------------------------------------
# - DEBIAN ---------------------------------------------------------
$(APT_TOOL) install $(EXTRA_DEBS_JESSIE)
# Install even more packaged dependencies on modern distros
-install_extra_debs_xenial:
- $(APT_TOOL) install $(EXTRA_DEBS_UBUNTU_XENIAL)
-
-install_extra_debs_bionic:
- $(APT_TOOL) install $(EXTRA_DEBS_UBUNTU_BIONIC)
+install_extra_debs_ubuntu:
+ $(APT_TOOL) install $(EXTRA_DEBS_UBUNTU)
# Some OSes activate the Apache mpm_event module by default.