From a1937d9885b4cad36b174299819bc4ab77ab7afc Mon Sep 17 00:00:00 2001 From: Chris Kampmeier Date: Tue, 30 Oct 2018 18:35:50 -0400 Subject: [PATCH] Fixes for a couple issues in the Ubuntu guide (#2285) * Xenial needs the ppa:iconnor/zoneminder repo Otherwise, trying to install the zoneminder package fails with an unmet dependency on php-apc. See https://forums.zoneminder.com/viewtopic.php?t=27638 for details. * Add necessary modules before configuring Apache When you add the zoneminder configuration before enabling mod_rewrite, subsequent commands (like the one to enable mod_cgi) give you an error like: AH00526: Syntax error on line 37 of /etc/apache2/conf-enabled/zoneminder.conf: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration --- docs/installationguide/ubuntu.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installationguide/ubuntu.rst b/docs/installationguide/ubuntu.rst index 3df065264..6c686d7ed 100644 --- a/docs/installationguide/ubuntu.rst +++ b/docs/installationguide/ubuntu.rst @@ -49,7 +49,7 @@ guide you with a quick search. add-apt-repository ppa:iconnor/zoneminder-1.32 - If you are on trusty, you may want to add both, as there are some packages for dependencies included in the old ppa. + If you are on Trusty or Xenial, you may want to add both, as there are some packages for dependencies included in the old ppa. Update repo and upgrade. @@ -138,9 +138,9 @@ Set /etc/zm/zm.conf to root:www-data 740 and www-data access to content :: - a2enconf zoneminder a2enmod cgi a2enmod rewrite + a2enconf zoneminder You may also want to enable to following modules to improve caching performance