Install ZoneMinder – Video Surveillance Software on Debian 9

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Rob Turner

Rob Turner is an avid Debian user as well as many of the derivatives of Debian such as Devuan, Mint, Ubuntu, and Kali. Rob holds a Masters in Information and Communication Sciences as well as several industry certifications from Cisco, EC-Council, ISC2, Linux Foundation, and LPI.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

7 Responses

  1. Tyler says:

    # usermod -aG video www-datada

    this line has a typo

  2. Norbert says:

    Thanks for the tutorial, however…

    Sorry to say, setting up the database throws an error 1046 (Syntax error) on my fresh Debian 9 install.

    Works up till “mariadb -u root -p < /usr/share/zoneminder/db/zm_create.sql&quot;

    Next command, does throw the above error.


    • Rob Turner says:


      Just double checked on a clean install here and the command is working fine. I noticed in your post though you have double quotes and a semi-colon for some reason. Please do not use though the command should be:

      # mariadb -u root -p < /usr/share/zoneminder/db/zm_create.sql
  3. Ed says:

    Too bad there isn’t a camera database on their site listing what camera work with Zoneminder. That would be really useful before a wasted attempt at setting up a server installation.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.