* `debian-jessie` for Debian 8.0
* `debian-wheezy` for Debian 7.0
- * `ubuntu-precise` for Ubuntu 12.04
* `ubuntu-trusty` for Ubuntu 14.04
* `ubuntu-xenial` for Ubuntu 16.04
* `fedora` for Fedora 17 and later
3. Create the websocket Apache instance (more information about this in
`/usr/share/doc/apache2/README.multiple-instances`)
+
-.(Debian / Ubuntu Precise)
+.(Debian)
[source, bash]
---------------------------------------------------------------------------
sh /usr/share/doc/apache2.2-common/examples/setup-instance websockets
+
5. Copy into place the config files
+
-.(Debian / Ubuntu Precise)
+.(Debian)
[source, bash]
---------------------------------------------------------------------------
cp examples/apache2/websockets/apache2.conf /etc/apache2-websockets/
#
# Makefile to install prerequisites for OpenSRF
#
-# Currently supports Debian (jessie/wheezy), Ubuntu (precise/trusty)
+# Currently supports Debian (jessie/wheezy), Ubuntu (trusty/xenial)
# and Fedora (16).
#
# Installs Perl prereqs, libjs with Perl wrapper
# - or -
# make -f Makefile.install debian-wheezy
# - or -
-# make -f Makefile.install ubuntu-precise
-# - or -
# make -f Makefile.install ubuntu-trusty
# - or -
+# make -f Makefile.install ubuntu-xenial
+# - or -
# make -f Makefile.install fedora
#
# ---------------------------------------------------------------------
apache2-prefork-dev \
libncurses5-dev
-EXTRA_DEBS_UBUNTU_PRECISE = \
- apache2-mpm-prefork \
- apache2-prefork-dev \
- ncurses-dev
-
EXTRA_DEBS_UBUNTU_TRUSTY = \
apache2-mpm-prefork \
apache2-prefork-dev \
fedora: install_fedora_rpms
-ubuntu-precise: generic_ubuntu precise
ubuntu-trusty: generic_ubuntu trusty apache_mpm_prefork_mods
ubuntu-xenial: generic_ubuntu xenial apache_mpm_prefork_mods apache_perl_mod
-precise: install_extra_debs install_extra_debs_precise debian_sys_config
trusty: install_extra_debs install_extra_debs_trusty debian_sys_config
xenial: install_extra_debs install_extra_debs_xenial debian_sys_config
generic_ubuntu: install_debs
$(APT_TOOL) install $(EXTRA_DEBS_WHEEZY)
# Install even more packaged dependencies on modern distros
-install_extra_debs_precise:
- $(APT_TOOL) install $(EXTRA_DEBS_UBUNTU_PRECISE)
-
install_extra_debs_trusty:
$(APT_TOOL) install $(EXTRA_DEBS_UBUNTU_TRUSTY)