Table of Contents

ZoneMinder (CCTV)

Homepage: http://www.zoneminder.com/

Installation

ab Ubuntu 15.10

Guide / in den offiziellen Paketquellen:

apt-get install zoneminder

nginx

https://chiralsoftware.com/content/zoneminder-nginx-yes-it-works

We need to add CGI access for ZMS. There are some scripts published on other websites to do this. Fortunately, we don't need to write a script. Ubuntu's packages have everything we need, using fastcgi.
Make sure fastcgi is installed and running:
apt-get install fcgiwrap
This creates the file /etc/init.d/fcgiwrap, and will create a Unix socket at /var/run/fcgiwrap.socket
Make sure it is running:
service fcgiwrap start
Now add this section to allow the ZMS CGI to run:
  location = /zoneminder/cgi-bin/nph-zms {
      root /usr/share;
      include fastcgi_params;
      fastcgi_param SCRIPT_FILENAME /usr/share/zoneminder/cgi-bin/nph-zms;
      fastcgi_pass unix:/var/run/fcgiwrap.socket;
  }