<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.staging.zoneminder.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rizome</id>
	<title>ZoneMinder Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.staging.zoneminder.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rizome"/>
	<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/Special:Contributions/Rizome"/>
	<updated>2026-04-20T00:22:13Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SV3C&amp;diff=15475</id>
		<title>SV3C</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SV3C&amp;diff=15475"/>
		<updated>2019-02-21T06:55:30Z</updated>

		<summary type="html">&lt;p&gt;Rizome: /* SV3C SV-D02POE-1080P */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== SV3C SV-D02POE-1080P ==&lt;br /&gt;
&lt;br /&gt;
Resolution is 1920 x 1080&lt;br /&gt;
&lt;br /&gt;
Settings that work are:&lt;br /&gt;
* Server: None&lt;br /&gt;
* Source Type: Ffmpeg&lt;br /&gt;
* Analysis FPS, Maximum FPS, Alarm Maximum FPS all blank.&lt;br /&gt;
* Source Path: rtsp://admin:&amp;lt;password&amp;gt;@x.x.x.x:554/11 where x.x.x.x is the IP address of your camera, and &amp;lt;password&amp;gt; is your camera&amp;#039;s password&lt;br /&gt;
* Remote Method: TCP&lt;br /&gt;
* Options: (blank)&lt;br /&gt;
* Target colorspace: 24 bit color&lt;br /&gt;
* Capture width: 1920&lt;br /&gt;
* Capture height: 1080&lt;br /&gt;
Working date 2019/02.  Zm 1.30.4 on GNU/Linux Debian Stretch.&lt;br /&gt;
&lt;br /&gt;
Comments: Good daytime view, but very bad nighttime views.  First reflections from IR leds, and only works in black and white at night, so have to leave it in BW all of the time.&lt;br /&gt;
&lt;br /&gt;
== SV3C SV-B01POE-1080P ==&lt;br /&gt;
&lt;br /&gt;
Resolution is 1920x1080. SV3C provide instructions on using with ZoneMinder: [http://www.sv3c.com/userfiles/files/Download%20File/Manual%20File/Third%20party%20software%20manual/POE-1080P%20series/L%20series/How%20to%20add%20POE%20camera%20to%20zoneminder.pdf How to add POE camera to zoneminder].&lt;br /&gt;
&lt;br /&gt;
Settings that work are:&lt;br /&gt;
* Server: None&lt;br /&gt;
* Source Type: Ffmpeg&lt;br /&gt;
* Analysis FPS, Maximum FPS, Alarm Maximum FPS all blank. These were subsequently changed to 30 (with the camera set to 25) to overcome issues when the camera was powered off.&lt;br /&gt;
* Source Path: rtsp://x.x.x.x:554/11 where x.x.x.x is the IP address of your camera&lt;br /&gt;
* Target colorspace: 24 bit colour&lt;br /&gt;
* Capture width: 1920&lt;br /&gt;
* Capture height: 1080&lt;br /&gt;
&lt;br /&gt;
== SV3C SV-B01W-960P-HX ==&lt;br /&gt;
&lt;br /&gt;
Resolution is 1280 x 960&lt;br /&gt;
&lt;br /&gt;
Settings that work are:&lt;br /&gt;
* Server: None&lt;br /&gt;
* Source Type: Ffmpeg&lt;br /&gt;
* Analysis FPS 0, Maximum FPS 30, Alarm Maximum FPS 30.&lt;br /&gt;
* Source Path: rtsp://x.x.x.x:554/11 where x.x.x.x is the IP address of your camera&lt;br /&gt;
* Target colorspace: 32 bit color&lt;br /&gt;
* Capture width: 1280&lt;br /&gt;
* Capture height: 960&lt;br /&gt;
&lt;br /&gt;
== SV3C SV-B06POE-1080P-A ==&lt;br /&gt;
* Server: None&lt;br /&gt;
* Source Type: Ffmpeg&lt;br /&gt;
* Analysis FPS, Maximum FPS, Alarm Maximum FPS all blank.&lt;br /&gt;
* Source Path: rtsp://&amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@x.x.x.x:554/stream0 where x.x.x.x is the IP address of your camera&lt;br /&gt;
* Remote Method: RTP/RTSP&lt;br /&gt;
* Target colorspace: 24 bit color&lt;br /&gt;
* Capture width: 1920&lt;br /&gt;
* Capture height: 1080&lt;/div&gt;</summary>
		<author><name>Rizome</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=SV3C&amp;diff=15474</id>
		<title>SV3C</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=SV3C&amp;diff=15474"/>
		<updated>2019-02-21T06:53:48Z</updated>

		<summary type="html">&lt;p&gt;Rizome: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== SV3C SV-D02POE-1080P ==&lt;br /&gt;
&lt;br /&gt;
Resolution is 1920 x 1080&lt;br /&gt;
&lt;br /&gt;
Settings that work are:&lt;br /&gt;
* Server: None&lt;br /&gt;
* Source Type: Ffmpeg&lt;br /&gt;
* Analysis FPS, Maximum FPS, Alarm Maximum FPS all blank.&lt;br /&gt;
* Source Path: rtsp://admin:&amp;lt;password&amp;gt;@x.x.x.x:554/11 where x.x.x.x is the IP address of your camera, and &amp;lt;password&amp;gt; is your camera&amp;#039;s password&lt;br /&gt;
* Remote Method: TCP&lt;br /&gt;
* Options: (blank)&lt;br /&gt;
* Target colorspace: 24 bit color&lt;br /&gt;
* Capture width: 1920&lt;br /&gt;
* Capture height: 1080&lt;br /&gt;
Working date 2019/02.  Zm 1.30.4 on GNU/Linux Debian Stretch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== SV3C SV-B01POE-1080P ==&lt;br /&gt;
&lt;br /&gt;
Resolution is 1920x1080. SV3C provide instructions on using with ZoneMinder: [http://www.sv3c.com/userfiles/files/Download%20File/Manual%20File/Third%20party%20software%20manual/POE-1080P%20series/L%20series/How%20to%20add%20POE%20camera%20to%20zoneminder.pdf How to add POE camera to zoneminder].&lt;br /&gt;
&lt;br /&gt;
Settings that work are:&lt;br /&gt;
* Server: None&lt;br /&gt;
* Source Type: Ffmpeg&lt;br /&gt;
* Analysis FPS, Maximum FPS, Alarm Maximum FPS all blank. These were subsequently changed to 30 (with the camera set to 25) to overcome issues when the camera was powered off.&lt;br /&gt;
* Source Path: rtsp://x.x.x.x:554/11 where x.x.x.x is the IP address of your camera&lt;br /&gt;
* Target colorspace: 24 bit colour&lt;br /&gt;
* Capture width: 1920&lt;br /&gt;
* Capture height: 1080&lt;br /&gt;
&lt;br /&gt;
== SV3C SV-B01W-960P-HX ==&lt;br /&gt;
&lt;br /&gt;
Resolution is 1280 x 960&lt;br /&gt;
&lt;br /&gt;
Settings that work are:&lt;br /&gt;
* Server: None&lt;br /&gt;
* Source Type: Ffmpeg&lt;br /&gt;
* Analysis FPS 0, Maximum FPS 30, Alarm Maximum FPS 30.&lt;br /&gt;
* Source Path: rtsp://x.x.x.x:554/11 where x.x.x.x is the IP address of your camera&lt;br /&gt;
* Target colorspace: 32 bit color&lt;br /&gt;
* Capture width: 1280&lt;br /&gt;
* Capture height: 960&lt;br /&gt;
&lt;br /&gt;
== SV3C SV-B06POE-1080P-A ==&lt;br /&gt;
* Server: None&lt;br /&gt;
* Source Type: Ffmpeg&lt;br /&gt;
* Analysis FPS, Maximum FPS, Alarm Maximum FPS all blank.&lt;br /&gt;
* Source Path: rtsp://&amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@x.x.x.x:554/stream0 where x.x.x.x is the IP address of your camera&lt;br /&gt;
* Remote Method: RTP/RTSP&lt;br /&gt;
* Target colorspace: 24 bit color&lt;br /&gt;
* Capture width: 1920&lt;br /&gt;
* Capture height: 1080&lt;/div&gt;</summary>
		<author><name>Rizome</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Debian_12_Bookworm_with_Zoneminder_1.36.x_and_1.37.x&amp;diff=15351</id>
		<title>Debian 12 Bookworm with Zoneminder 1.36.x and 1.37.x</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Debian_12_Bookworm_with_Zoneminder_1.36.x_and_1.37.x&amp;diff=15351"/>
		<updated>2018-10-21T06:59:58Z</updated>

		<summary type="html">&lt;p&gt;Rizome: apt install .. apache2-mod-php7.0 will install libapache2-mod-php7.0 via it&amp;#039;s grep match, but the actual package name is apache2-mod-php7.0, so added the lib to make this clear.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
===Debian 9 with Zoneminder 1.30.4===&lt;br /&gt;
08OCT17 - This procedure has been verified with the Debian 9.2.0.  &lt;br /&gt;
&lt;br /&gt;
Note: 23JUN17 - I was able to get the libvlc source to work! I have added the install for vlc-plugin-base which allows the Zoneminder install to complete without errors. However, I have been getting some console errors from VLC. It may be my old camera and you may have good results with libvlc but I consider ffmpeg better to use.&lt;br /&gt;
&lt;br /&gt;
I used Debian 9 net install CD (https://www.debian.org/CD/netinst/). &lt;br /&gt;
&lt;br /&gt;
Install only: web server, SSH server and standard system utilities from tasksel&lt;br /&gt;
&lt;br /&gt;
Login and become root (su root) or prepend sudo to the following commands&lt;br /&gt;
&lt;br /&gt;
If needed check to make sure you are up to date&lt;br /&gt;
&lt;br /&gt;
 apt update&lt;br /&gt;
 apt upgrade&lt;br /&gt;
 apt dist-upgrade&lt;br /&gt;
&lt;br /&gt;
===Install additional LAMP components Mariadb server (recommended)===&lt;br /&gt;
&lt;br /&gt;
 apt install php mariadb-server php-mysql libapache2-mod-php7.0&lt;br /&gt;
&lt;br /&gt;
Secure Mariadb, create root password et. al.&lt;br /&gt;
&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
NOTE:The MySQL/MariaDB configuration file is located at: /etc/mysql/mysql.conf.d/mysqld.cnf To better manage the MariaDB server I recommend you move the config file and replace the default my.cnf symbolic link (this also works for MySQL 5.6).&lt;br /&gt;
&lt;br /&gt;
 rm /etc/mysql/my.cnf  &lt;br /&gt;
&lt;br /&gt;
 cp /etc/mysql/mariadb.conf.d/50-server.cnf /etc/mysql/my.cnf&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The following change to Mariadb settings is optional but is included if you have problems logging into Zoneminder&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 nano /etc/mysql/my.cnf&lt;br /&gt;
&lt;br /&gt;
Make the following changes:&lt;br /&gt;
&lt;br /&gt;
 character-set-server = latin1&lt;br /&gt;
 collation-server = latin1_swedish_ci&lt;br /&gt;
&lt;br /&gt;
Note: The above settings are actually the Mariadb default. Changing back to default is necessary to avoid errors when logging into Zoneminder. This was added on 01APR17 but is not an April Fool! It may be necessary to align these settings with your regional language.&lt;br /&gt;
&lt;br /&gt;
Ctrl+o Enter to save&lt;br /&gt;
&lt;br /&gt;
Ctrl+x to exit&lt;br /&gt;
&lt;br /&gt;
Restart Mariadb&lt;br /&gt;
&lt;br /&gt;
 service mariadb restart&lt;br /&gt;
&lt;br /&gt;
===Install Zoneminder===&lt;br /&gt;
&lt;br /&gt;
Add the Deb Multimedia repository. (instructions at: https://deb-multimedia.org/)&lt;br /&gt;
&lt;br /&gt;
Edit sources.list&lt;br /&gt;
&lt;br /&gt;
 nano /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
Add to the end of the file:&lt;br /&gt;
&lt;br /&gt;
 deb http://www.deb-multimedia.org stretch main non-free&lt;br /&gt;
&lt;br /&gt;
Ctrl+o Enter to save&lt;br /&gt;
&lt;br /&gt;
Ctrl+x to exit &lt;br /&gt;
&lt;br /&gt;
After you have added the necessary line in /etc/apt/sources.list the first package to install is deb-multimedia-keyring.&lt;br /&gt;
&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install deb-multimedia-keyring&lt;br /&gt;
&lt;br /&gt;
If apt-get can not find the new key, do that :&lt;br /&gt;
&lt;br /&gt;
 wget http://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2016.8.1_all.deb&lt;br /&gt;
 dpkg -i deb-multimedia-keyring_2016.8.1_all.deb&lt;br /&gt;
&lt;br /&gt;
Update packages list:&lt;br /&gt;
&lt;br /&gt;
 apt update&lt;br /&gt;
 apt upgrade&lt;br /&gt;
 apt dist-upgrade&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install Zoneminder&lt;br /&gt;
&lt;br /&gt;
 apt install zoneminder vlc-plugin-base php7.0-gd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Set permissions of /etc/zm/zm.conf to root:www-data 740&lt;br /&gt;
&lt;br /&gt;
 chmod 740 /etc/zm/zm.conf&lt;br /&gt;
&lt;br /&gt;
 chown root:www-data /etc/zm/zm.conf&lt;br /&gt;
&lt;br /&gt;
Enable Zoneminder service to start at boot&lt;br /&gt;
&lt;br /&gt;
 systemctl enable zoneminder.service&lt;br /&gt;
&lt;br /&gt;
Add www-data to the sudo group (to enable use of local video devices)&lt;br /&gt;
&lt;br /&gt;
 adduser www-data video&lt;br /&gt;
&lt;br /&gt;
Start Zoneminder&lt;br /&gt;
&lt;br /&gt;
 systemctl start zoneminder.service&lt;br /&gt;
&lt;br /&gt;
Check to see that Zoneminder is running&lt;br /&gt;
&lt;br /&gt;
 systemctl status zoneminder.service&lt;br /&gt;
&lt;br /&gt;
Enable CGI and Zoneminder configuration in Apache.&lt;br /&gt;
&lt;br /&gt;
 a2enmod cgi&lt;br /&gt;
&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
&lt;br /&gt;
 a2enconf zoneminder&lt;br /&gt;
&lt;br /&gt;
Add timezone to PHP&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/;date.timezone =/date.timezone = $(sed &amp;#039;s/\//\\\//&amp;#039; /etc/timezone)/g&amp;quot; /etc/php/7.0/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
Change permissions in /usr/share/zoneminder/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /usr/share/zoneminder/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Restart Apache&lt;br /&gt;
&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
Open Zoneminder in a web browser (http://server-ip/zm).&lt;br /&gt;
&lt;br /&gt;
10OCT17 - An issue with the /tmp/zm directory has been reported. Debian uses private tmp folders so even though you can see the files &amp;amp; folders, zoneminder cannot because it is running under a different user account.&lt;br /&gt;
&lt;br /&gt;
Go to Options -&amp;gt; Paths and then inspect each PATH_XXX variable. If it is set to &amp;quot;/tmp/zm&amp;quot;, change it to &amp;quot;/dev/shm&amp;quot;. Don&amp;#039;t forget to restart zoneminder.&lt;br /&gt;
&lt;br /&gt;
===Alternate install MySQL Server===&lt;br /&gt;
Note: Install of MySQL was not tested with the Debian 9.0.0 release but should work based on past experience&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 apt install php default-mysql-server php-mysql apache2-mod-php7.0&lt;br /&gt;
&lt;br /&gt;
Make a change to MySQL settings: (Note: Your my.cnf may be in another location)&lt;br /&gt;
&lt;br /&gt;
 nano /etc/mysql/my.cnf&lt;br /&gt;
&lt;br /&gt;
In the [mysqld] section add the following&lt;br /&gt;
&lt;br /&gt;
 sql_mode = NO_ENGINE_SUBSTITUTION&lt;br /&gt;
&lt;br /&gt;
Note: if you are installing on an existing database server you can use the following as an alternate to &amp;#039;sql_mode = NO_ENGINE_SUBSTITUTION&amp;#039; (Thanks to &amp;quot;bodom&amp;quot; for this alternate):&lt;br /&gt;
&lt;br /&gt;
 init_connect = &amp;#039;SET @@sql_mode = CASE CURRENT_USER() WHEN \&amp;#039;zmuser@localhost\&amp;#039; THEN \&amp;#039;NO_ENGINE_SUBSTITUTION\&amp;#039; ELSE @@sql_mode END;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Ctrl+o Enter to save&lt;br /&gt;
&lt;br /&gt;
Ctrl+x to exit&lt;br /&gt;
&lt;br /&gt;
Restart MySQL&lt;br /&gt;
&lt;br /&gt;
 systemctl restart mysql&lt;br /&gt;
&lt;br /&gt;
Continue with Zoneminder install https://wiki.zoneminder.com/Debian_9_64-bit_with_Zoneminder_1.30.4_the_Easy_Way#Install_Zoneminder&lt;/div&gt;</summary>
		<author><name>Rizome</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Debian_12_Bookworm_with_Zoneminder_1.36.x_and_1.37.x&amp;diff=15350</id>
		<title>Debian 12 Bookworm with Zoneminder 1.36.x and 1.37.x</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Debian_12_Bookworm_with_Zoneminder_1.36.x_and_1.37.x&amp;diff=15350"/>
		<updated>2018-10-21T06:54:28Z</updated>

		<summary type="html">&lt;p&gt;Rizome: minor case conformity&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
===Debian 9 with Zoneminder 1.30.4===&lt;br /&gt;
08OCT17 - This procedure has been verified with the Debian 9.2.0.  &lt;br /&gt;
&lt;br /&gt;
Note: 23JUN17 - I was able to get the libvlc source to work! I have added the install for vlc-plugin-base which allows the Zoneminder install to complete without errors. However, I have been getting some console errors from VLC. It may be my old camera and you may have good results with libvlc but I consider ffmpeg better to use.&lt;br /&gt;
&lt;br /&gt;
I used Debian 9 net install CD (https://www.debian.org/CD/netinst/). &lt;br /&gt;
&lt;br /&gt;
Install only: web server, SSH server and standard system utilities from tasksel&lt;br /&gt;
&lt;br /&gt;
Login and become root (su root) or prepend sudo to the following commands&lt;br /&gt;
&lt;br /&gt;
If needed check to make sure you are up to date&lt;br /&gt;
&lt;br /&gt;
 apt update&lt;br /&gt;
 apt upgrade&lt;br /&gt;
 apt dist-upgrade&lt;br /&gt;
&lt;br /&gt;
===Install additional LAMP components Mariadb server (recommended)===&lt;br /&gt;
&lt;br /&gt;
 apt install php mariadb-server php-mysql apache2-mod-php7.0&lt;br /&gt;
&lt;br /&gt;
Secure Mariadb, create root password et. al.&lt;br /&gt;
&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
NOTE:The MySQL/MariaDB configuration file is located at: /etc/mysql/mysql.conf.d/mysqld.cnf To better manage the MariaDB server I recommend you move the config file and replace the default my.cnf symbolic link (this also works for MySQL 5.6).&lt;br /&gt;
&lt;br /&gt;
 rm /etc/mysql/my.cnf  &lt;br /&gt;
&lt;br /&gt;
 cp /etc/mysql/mariadb.conf.d/50-server.cnf /etc/mysql/my.cnf&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The following change to Mariadb settings is optional but is included if you have problems logging into Zoneminder&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 nano /etc/mysql/my.cnf&lt;br /&gt;
&lt;br /&gt;
Make the following changes:&lt;br /&gt;
&lt;br /&gt;
 character-set-server = latin1&lt;br /&gt;
 collation-server = latin1_swedish_ci&lt;br /&gt;
&lt;br /&gt;
Note: The above settings are actually the Mariadb default. Changing back to default is necessary to avoid errors when logging into Zoneminder. This was added on 01APR17 but is not an April Fool! It may be necessary to align these settings with your regional language.&lt;br /&gt;
&lt;br /&gt;
Ctrl+o Enter to save&lt;br /&gt;
&lt;br /&gt;
Ctrl+x to exit&lt;br /&gt;
&lt;br /&gt;
Restart Mariadb&lt;br /&gt;
&lt;br /&gt;
 service mariadb restart&lt;br /&gt;
&lt;br /&gt;
===Install Zoneminder===&lt;br /&gt;
&lt;br /&gt;
Add the Deb Multimedia repository. (instructions at: https://deb-multimedia.org/)&lt;br /&gt;
&lt;br /&gt;
Edit sources.list&lt;br /&gt;
&lt;br /&gt;
 nano /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
Add to the end of the file:&lt;br /&gt;
&lt;br /&gt;
 deb http://www.deb-multimedia.org stretch main non-free&lt;br /&gt;
&lt;br /&gt;
Ctrl+o Enter to save&lt;br /&gt;
&lt;br /&gt;
Ctrl+x to exit &lt;br /&gt;
&lt;br /&gt;
After you have added the necessary line in /etc/apt/sources.list the first package to install is deb-multimedia-keyring.&lt;br /&gt;
&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install deb-multimedia-keyring&lt;br /&gt;
&lt;br /&gt;
If apt-get can not find the new key, do that :&lt;br /&gt;
&lt;br /&gt;
 wget http://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2016.8.1_all.deb&lt;br /&gt;
 dpkg -i deb-multimedia-keyring_2016.8.1_all.deb&lt;br /&gt;
&lt;br /&gt;
Update packages list:&lt;br /&gt;
&lt;br /&gt;
 apt update&lt;br /&gt;
 apt upgrade&lt;br /&gt;
 apt dist-upgrade&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install Zoneminder&lt;br /&gt;
&lt;br /&gt;
 apt install zoneminder vlc-plugin-base php7.0-gd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Set permissions of /etc/zm/zm.conf to root:www-data 740&lt;br /&gt;
&lt;br /&gt;
 chmod 740 /etc/zm/zm.conf&lt;br /&gt;
&lt;br /&gt;
 chown root:www-data /etc/zm/zm.conf&lt;br /&gt;
&lt;br /&gt;
Enable Zoneminder service to start at boot&lt;br /&gt;
&lt;br /&gt;
 systemctl enable zoneminder.service&lt;br /&gt;
&lt;br /&gt;
Add www-data to the sudo group (to enable use of local video devices)&lt;br /&gt;
&lt;br /&gt;
 adduser www-data video&lt;br /&gt;
&lt;br /&gt;
Start Zoneminder&lt;br /&gt;
&lt;br /&gt;
 systemctl start zoneminder.service&lt;br /&gt;
&lt;br /&gt;
Check to see that Zoneminder is running&lt;br /&gt;
&lt;br /&gt;
 systemctl status zoneminder.service&lt;br /&gt;
&lt;br /&gt;
Enable CGI and Zoneminder configuration in Apache.&lt;br /&gt;
&lt;br /&gt;
 a2enmod cgi&lt;br /&gt;
&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
&lt;br /&gt;
 a2enconf zoneminder&lt;br /&gt;
&lt;br /&gt;
Add timezone to PHP&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/;date.timezone =/date.timezone = $(sed &amp;#039;s/\//\\\//&amp;#039; /etc/timezone)/g&amp;quot; /etc/php/7.0/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
Change permissions in /usr/share/zoneminder/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /usr/share/zoneminder/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Restart Apache&lt;br /&gt;
&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
Open Zoneminder in a web browser (http://server-ip/zm).&lt;br /&gt;
&lt;br /&gt;
10OCT17 - An issue with the /tmp/zm directory has been reported. Debian uses private tmp folders so even though you can see the files &amp;amp; folders, zoneminder cannot because it is running under a different user account.&lt;br /&gt;
&lt;br /&gt;
Go to Options -&amp;gt; Paths and then inspect each PATH_XXX variable. If it is set to &amp;quot;/tmp/zm&amp;quot;, change it to &amp;quot;/dev/shm&amp;quot;. Don&amp;#039;t forget to restart zoneminder.&lt;br /&gt;
&lt;br /&gt;
===Alternate install MySQL Server===&lt;br /&gt;
Note: Install of MySQL was not tested with the Debian 9.0.0 release but should work based on past experience&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 apt install php default-mysql-server php-mysql apache2-mod-php7.0&lt;br /&gt;
&lt;br /&gt;
Make a change to MySQL settings: (Note: Your my.cnf may be in another location)&lt;br /&gt;
&lt;br /&gt;
 nano /etc/mysql/my.cnf&lt;br /&gt;
&lt;br /&gt;
In the [mysqld] section add the following&lt;br /&gt;
&lt;br /&gt;
 sql_mode = NO_ENGINE_SUBSTITUTION&lt;br /&gt;
&lt;br /&gt;
Note: if you are installing on an existing database server you can use the following as an alternate to &amp;#039;sql_mode = NO_ENGINE_SUBSTITUTION&amp;#039; (Thanks to &amp;quot;bodom&amp;quot; for this alternate):&lt;br /&gt;
&lt;br /&gt;
 init_connect = &amp;#039;SET @@sql_mode = CASE CURRENT_USER() WHEN \&amp;#039;zmuser@localhost\&amp;#039; THEN \&amp;#039;NO_ENGINE_SUBSTITUTION\&amp;#039; ELSE @@sql_mode END;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Ctrl+o Enter to save&lt;br /&gt;
&lt;br /&gt;
Ctrl+x to exit&lt;br /&gt;
&lt;br /&gt;
Restart MySQL&lt;br /&gt;
&lt;br /&gt;
 systemctl restart mysql&lt;br /&gt;
&lt;br /&gt;
Continue with Zoneminder install https://wiki.zoneminder.com/Debian_9_64-bit_with_Zoneminder_1.30.4_the_Easy_Way#Install_Zoneminder&lt;/div&gt;</summary>
		<author><name>Rizome</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Debian_12_Bookworm_with_Zoneminder_1.36.x_and_1.37.x&amp;diff=15349</id>
		<title>Debian 12 Bookworm with Zoneminder 1.36.x and 1.37.x</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Debian_12_Bookworm_with_Zoneminder_1.36.x_and_1.37.x&amp;diff=15349"/>
		<updated>2018-10-21T06:53:53Z</updated>

		<summary type="html">&lt;p&gt;Rizome: Undo revision 15348 by Rizome (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
===Debian 9 with Zoneminder 1.30.4===&lt;br /&gt;
08OCT17 - This procedure has been verified with the Debian 9.2.0.  &lt;br /&gt;
&lt;br /&gt;
Note: 23JUN17 - I was able to get the libvlc source to work! I have added the install for vlc-plugin-base which allows the Zoneminder install to complete without errors. However, I have been getting some console errors from VLC. It may be my old camera and you may have good results with libvlc but I consider ffmpeg better to use.&lt;br /&gt;
&lt;br /&gt;
I used Debian 9 net install CD (https://www.debian.org/CD/netinst/). &lt;br /&gt;
&lt;br /&gt;
Install only: web server, SSH server and standard system utilities from tasksel&lt;br /&gt;
&lt;br /&gt;
Login and become root (su root) or prepend sudo to the following commands&lt;br /&gt;
&lt;br /&gt;
If needed check to make sure you are up to date&lt;br /&gt;
&lt;br /&gt;
 apt update&lt;br /&gt;
 apt upgrade&lt;br /&gt;
 apt dist-upgrade&lt;br /&gt;
&lt;br /&gt;
===Install additional LAMP components Mariadb server (recommended)===&lt;br /&gt;
&lt;br /&gt;
 apt install php mariadb-server php-mysql apache2-mod-php7.0&lt;br /&gt;
&lt;br /&gt;
Secure Mariadb, create root password et. al.&lt;br /&gt;
&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
NOTE:The MySQL/MariaDB configuration file is located at: /etc/mysql/mysql.conf.d/mysqld.cnf To better manage the MariaDB server I recommend you move the config file and replace the default my.cnf symbolic link (this also works for MySQL 5.6).&lt;br /&gt;
&lt;br /&gt;
 rm /etc/mysql/my.cnf  &lt;br /&gt;
&lt;br /&gt;
 cp /etc/mysql/mariadb.conf.d/50-server.cnf /etc/mysql/my.cnf&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The following change to Mariadb settings is optional but is included if you have problems logging into Zoneminder&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 nano /etc/mysql/my.cnf&lt;br /&gt;
&lt;br /&gt;
Make the following changes:&lt;br /&gt;
&lt;br /&gt;
 character-set-server = latin1&lt;br /&gt;
 collation-server = latin1_swedish_ci&lt;br /&gt;
&lt;br /&gt;
Note: The above settings are actually the Mariadb default. Changing back to default is necessary to avoid errors when logging into Zoneminder. This was added on 01APR17 but is not an April Fool! It may be necessary to align these settings with your regional language.&lt;br /&gt;
&lt;br /&gt;
Ctrl+o Enter to save&lt;br /&gt;
&lt;br /&gt;
CTRL+x to exit&lt;br /&gt;
&lt;br /&gt;
Restart Mariadb&lt;br /&gt;
&lt;br /&gt;
 service mariadb restart&lt;br /&gt;
&lt;br /&gt;
===Install Zoneminder===&lt;br /&gt;
&lt;br /&gt;
Add the Deb Multimedia repository. (instructions at: https://deb-multimedia.org/)&lt;br /&gt;
&lt;br /&gt;
Edit sources.list&lt;br /&gt;
&lt;br /&gt;
 nano /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
Add to the end of the file:&lt;br /&gt;
&lt;br /&gt;
 deb http://www.deb-multimedia.org stretch main non-free&lt;br /&gt;
&lt;br /&gt;
Ctrl+o Enter to save&lt;br /&gt;
&lt;br /&gt;
CTRL+x to exit &lt;br /&gt;
&lt;br /&gt;
After you have added the necessary line in /etc/apt/sources.list the first package to install is deb-multimedia-keyring.&lt;br /&gt;
&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install deb-multimedia-keyring&lt;br /&gt;
&lt;br /&gt;
If apt-get can not find the new key, do that :&lt;br /&gt;
&lt;br /&gt;
 wget http://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2016.8.1_all.deb&lt;br /&gt;
 dpkg -i deb-multimedia-keyring_2016.8.1_all.deb&lt;br /&gt;
&lt;br /&gt;
Update packages list:&lt;br /&gt;
&lt;br /&gt;
 apt update&lt;br /&gt;
 apt upgrade&lt;br /&gt;
 apt dist-upgrade&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install Zoneminder&lt;br /&gt;
&lt;br /&gt;
 apt install zoneminder vlc-plugin-base php7.0-gd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Set permissions of /etc/zm/zm.conf to root:www-data 740&lt;br /&gt;
&lt;br /&gt;
 chmod 740 /etc/zm/zm.conf&lt;br /&gt;
&lt;br /&gt;
 chown root:www-data /etc/zm/zm.conf&lt;br /&gt;
&lt;br /&gt;
Enable Zoneminder service to start at boot&lt;br /&gt;
&lt;br /&gt;
 systemctl enable zoneminder.service&lt;br /&gt;
&lt;br /&gt;
Add www-data to the sudo group (to enable use of local video devices)&lt;br /&gt;
&lt;br /&gt;
 adduser www-data video&lt;br /&gt;
&lt;br /&gt;
Start Zoneminder&lt;br /&gt;
&lt;br /&gt;
 systemctl start zoneminder.service&lt;br /&gt;
&lt;br /&gt;
Check to see that Zoneminder is running&lt;br /&gt;
&lt;br /&gt;
 systemctl status zoneminder.service&lt;br /&gt;
&lt;br /&gt;
Enable CGI and Zoneminder configuration in Apache.&lt;br /&gt;
&lt;br /&gt;
 a2enmod cgi&lt;br /&gt;
&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
&lt;br /&gt;
 a2enconf zoneminder&lt;br /&gt;
&lt;br /&gt;
Add timezone to PHP&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/;date.timezone =/date.timezone = $(sed &amp;#039;s/\//\\\//&amp;#039; /etc/timezone)/g&amp;quot; /etc/php/7.0/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
Change permissions in /usr/share/zoneminder/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /usr/share/zoneminder/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Restart Apache&lt;br /&gt;
&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
Open Zoneminder in a web browser (http://server-ip/zm).&lt;br /&gt;
&lt;br /&gt;
10OCT17 - An issue with the /tmp/zm directory has been reported. Debian uses private tmp folders so even though you can see the files &amp;amp; folders, zoneminder cannot because it is running under a different user account.&lt;br /&gt;
&lt;br /&gt;
Go to Options -&amp;gt; Paths and then inspect each PATH_XXX variable. If it is set to &amp;quot;/tmp/zm&amp;quot;, change it to &amp;quot;/dev/shm&amp;quot;. Don&amp;#039;t forget to restart zoneminder.&lt;br /&gt;
&lt;br /&gt;
===Alternate install MySQL Server===&lt;br /&gt;
Note: Install of MySQL was not tested with the Debian 9.0.0 release but should work based on past experience&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 apt install php default-mysql-server php-mysql apache2-mod-php7.0&lt;br /&gt;
&lt;br /&gt;
Make a change to MySQL settings: (Note: Your my.cnf may be in another location)&lt;br /&gt;
&lt;br /&gt;
 nano /etc/mysql/my.cnf&lt;br /&gt;
&lt;br /&gt;
In the [mysqld] section add the following&lt;br /&gt;
&lt;br /&gt;
 sql_mode = NO_ENGINE_SUBSTITUTION&lt;br /&gt;
&lt;br /&gt;
Note: if you are installing on an existing database server you can use the following as an alternate to &amp;#039;sql_mode = NO_ENGINE_SUBSTITUTION&amp;#039; (Thanks to &amp;quot;bodom&amp;quot; for this alternate):&lt;br /&gt;
&lt;br /&gt;
 init_connect = &amp;#039;SET @@sql_mode = CASE CURRENT_USER() WHEN \&amp;#039;zmuser@localhost\&amp;#039; THEN \&amp;#039;NO_ENGINE_SUBSTITUTION\&amp;#039; ELSE @@sql_mode END;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Ctrl+o Enter to save&lt;br /&gt;
&lt;br /&gt;
CTRL+x to exit&lt;br /&gt;
&lt;br /&gt;
Restart MySQL&lt;br /&gt;
&lt;br /&gt;
 systemctl restart mysql&lt;br /&gt;
&lt;br /&gt;
Continue with Zoneminder install https://wiki.zoneminder.com/Debian_9_64-bit_with_Zoneminder_1.30.4_the_Easy_Way#Install_Zoneminder&lt;/div&gt;</summary>
		<author><name>Rizome</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Debian_12_Bookworm_with_Zoneminder_1.36.x_and_1.37.x&amp;diff=15348</id>
		<title>Debian 12 Bookworm with Zoneminder 1.36.x and 1.37.x</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Debian_12_Bookworm_with_Zoneminder_1.36.x_and_1.37.x&amp;diff=15348"/>
		<updated>2018-10-21T06:52:11Z</updated>

		<summary type="html">&lt;p&gt;Rizome: minor case conformity&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
===Debian 9 with Zoneminder 1.30.4===&lt;br /&gt;
08OCT17 - This procedure has been verified with the Debian 9.2.0.  &lt;br /&gt;
&lt;br /&gt;
Note: 23JUN17 - I was able to get the libvlc source to work! I have added the install for vlc-plugin-base which allows the Zoneminder install to complete without errors. However, I have been getting some console errors from VLC. It may be my old camera and you may have good results with libvlc but I consider ffmpeg better to use.&lt;br /&gt;
&lt;br /&gt;
I used Debian 9 net install CD (https://www.debian.org/CD/netinst/). &lt;br /&gt;
&lt;br /&gt;
Install only: web server, SSH server and standard system utilities from tasksel&lt;br /&gt;
&lt;br /&gt;
Login and become root (su root) or prepend sudo to the following commands&lt;br /&gt;
&lt;br /&gt;
If needed check to make sure you are up to date&lt;br /&gt;
&lt;br /&gt;
 apt update&lt;br /&gt;
 apt upgrade&lt;br /&gt;
 apt dist-upgrade&lt;br /&gt;
&lt;br /&gt;
===Install additional LAMP components Mariadb server (recommended)===&lt;br /&gt;
&lt;br /&gt;
 apt install php mariadb-server php-mysql apache2-mod-php7.0&lt;br /&gt;
&lt;br /&gt;
Secure Mariadb, create root password et. al.&lt;br /&gt;
&lt;br /&gt;
 mysql_secure_installation&lt;br /&gt;
&lt;br /&gt;
NOTE:The MySQL/MariaDB configuration file is located at: /etc/mysql/mysql.conf.d/mysqld.cnf To better manage the MariaDB server I recommend you move the config file and replace the default my.cnf symbolic link (this also works for MySQL 5.6).&lt;br /&gt;
&lt;br /&gt;
 rm /etc/mysql/my.cnf  &lt;br /&gt;
&lt;br /&gt;
 cp /etc/mysql/mariadb.conf.d/50-server.cnf /etc/mysql/my.cnf&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The following change to Mariadb settings is optional but is included if you have problems logging into Zoneminder&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 nano /etc/mysql/my.cnf&lt;br /&gt;
&lt;br /&gt;
Make the following changes:&lt;br /&gt;
&lt;br /&gt;
 character-set-server = latin1&lt;br /&gt;
 collation-server = latin1_swedish_ci&lt;br /&gt;
&lt;br /&gt;
Note: The above settings are actually the Mariadb default. Changing back to default is necessary to avoid errors when logging into Zoneminder. This was added on 01APR17 but is not an April Fool! It may be necessary to align these settings with your regional language.&lt;br /&gt;
&lt;br /&gt;
Ctrl+o Enter to save&lt;br /&gt;
Ctrl+x to exit&lt;br /&gt;
&lt;br /&gt;
Restart Mariadb&lt;br /&gt;
&lt;br /&gt;
 service mariadb restart&lt;br /&gt;
&lt;br /&gt;
===Install Zoneminder===&lt;br /&gt;
&lt;br /&gt;
Add the Deb Multimedia repository. (instructions at: https://deb-multimedia.org/)&lt;br /&gt;
&lt;br /&gt;
Edit sources.list&lt;br /&gt;
&lt;br /&gt;
 nano /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
Add to the end of the file:&lt;br /&gt;
&lt;br /&gt;
 deb http://www.deb-multimedia.org stretch main non-free&lt;br /&gt;
&lt;br /&gt;
Ctrl+o Enter to save&lt;br /&gt;
Ctrl+x to exit &lt;br /&gt;
&lt;br /&gt;
After you have added the necessary line in /etc/apt/sources.list the first package to install is deb-multimedia-keyring.&lt;br /&gt;
&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install deb-multimedia-keyring&lt;br /&gt;
&lt;br /&gt;
If apt-get can not find the new key, do that :&lt;br /&gt;
&lt;br /&gt;
 wget http://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2016.8.1_all.deb&lt;br /&gt;
 dpkg -i deb-multimedia-keyring_2016.8.1_all.deb&lt;br /&gt;
&lt;br /&gt;
Update packages list:&lt;br /&gt;
&lt;br /&gt;
 apt update&lt;br /&gt;
 apt upgrade&lt;br /&gt;
 apt dist-upgrade&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install Zoneminder&lt;br /&gt;
&lt;br /&gt;
 apt install zoneminder vlc-plugin-base php7.0-gd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Set permissions of /etc/zm/zm.conf to root:www-data 740&lt;br /&gt;
&lt;br /&gt;
 chmod 740 /etc/zm/zm.conf&lt;br /&gt;
&lt;br /&gt;
 chown root:www-data /etc/zm/zm.conf&lt;br /&gt;
&lt;br /&gt;
Enable Zoneminder service to start at boot&lt;br /&gt;
&lt;br /&gt;
 systemctl enable zoneminder.service&lt;br /&gt;
&lt;br /&gt;
Add www-data to the sudo group (to enable use of local video devices)&lt;br /&gt;
&lt;br /&gt;
 adduser www-data video&lt;br /&gt;
&lt;br /&gt;
Start Zoneminder&lt;br /&gt;
&lt;br /&gt;
 systemctl start zoneminder.service&lt;br /&gt;
&lt;br /&gt;
Check to see that Zoneminder is running&lt;br /&gt;
&lt;br /&gt;
 systemctl status zoneminder.service&lt;br /&gt;
&lt;br /&gt;
Enable CGI and Zoneminder configuration in Apache.&lt;br /&gt;
&lt;br /&gt;
 a2enmod cgi&lt;br /&gt;
&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
&lt;br /&gt;
 a2enconf zoneminder&lt;br /&gt;
&lt;br /&gt;
Add timezone to PHP&lt;br /&gt;
&lt;br /&gt;
 sed -i &amp;quot;s/;date.timezone =/date.timezone = $(sed &amp;#039;s/\//\\\//&amp;#039; /etc/timezone)/g&amp;quot; /etc/php/7.0/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
Change permissions in /usr/share/zoneminder/&lt;br /&gt;
&lt;br /&gt;
 chown -R www-data:www-data /usr/share/zoneminder/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Restart Apache&lt;br /&gt;
&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
&lt;br /&gt;
Open Zoneminder in a web browser (http://server-ip/zm).&lt;br /&gt;
&lt;br /&gt;
10OCT17 - An issue with the /tmp/zm directory has been reported. Debian uses private tmp folders so even though you can see the files &amp;amp; folders, zoneminder cannot because it is running under a different user account.&lt;br /&gt;
&lt;br /&gt;
Go to Options -&amp;gt; Paths and then inspect each PATH_XXX variable. If it is set to &amp;quot;/tmp/zm&amp;quot;, change it to &amp;quot;/dev/shm&amp;quot;. Don&amp;#039;t forget to restart zoneminder.&lt;br /&gt;
&lt;br /&gt;
===Alternate install MySQL Server===&lt;br /&gt;
Note: Install of MySQL was not tested with the Debian 9.0.0 release but should work based on past experience&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 apt install php default-mysql-server php-mysql apache2-mod-php7.0&lt;br /&gt;
&lt;br /&gt;
Make a change to MySQL settings: (Note: Your my.cnf may be in another location)&lt;br /&gt;
&lt;br /&gt;
 nano /etc/mysql/my.cnf&lt;br /&gt;
&lt;br /&gt;
In the [mysqld] section add the following&lt;br /&gt;
&lt;br /&gt;
 sql_mode = NO_ENGINE_SUBSTITUTION&lt;br /&gt;
&lt;br /&gt;
Note: if you are installing on an existing database server you can use the following as an alternate to &amp;#039;sql_mode = NO_ENGINE_SUBSTITUTION&amp;#039; (Thanks to &amp;quot;bodom&amp;quot; for this alternate):&lt;br /&gt;
&lt;br /&gt;
 init_connect = &amp;#039;SET @@sql_mode = CASE CURRENT_USER() WHEN \&amp;#039;zmuser@localhost\&amp;#039; THEN \&amp;#039;NO_ENGINE_SUBSTITUTION\&amp;#039; ELSE @@sql_mode END;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Ctrl+o Enter to save&lt;br /&gt;
Ctrl+x to exit&lt;br /&gt;
&lt;br /&gt;
Restart MySQL&lt;br /&gt;
&lt;br /&gt;
 systemctl restart mysql&lt;br /&gt;
&lt;br /&gt;
Continue with Zoneminder install https://wiki.zoneminder.com/Debian_9_64-bit_with_Zoneminder_1.30.4_the_Easy_Way#Install_Zoneminder&lt;/div&gt;</summary>
		<author><name>Rizome</name></author>
	</entry>
</feed>