[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

ZoneMinder

ZoneMinder es una herramienta de código abierto para video vigilancia.

Prerequisitos

Installation

ZoneMinder está disponible en SBo.

Cámaras ONVIF

Si quieres usar cámaras ONVIF

  • Instalar perl-Data-UUID (desde Slackbuilds)
  • Instalar otros módulos de Perl a través de CPan:
# perl -MCPAN -e 'install Class::Std::Fast, Data::Dump, SOAP::WSDL::Transport::HTTP, IO::Socket::Multicast'

Base de Datos

# mysql -u root -p < /usr/share/zoneminder/db/zm_create.sql 
# mysql -u root -p 
      grant select,insert,update,delete,lock tables,alter,create on zm.* to 'zmuser'@localhost identified by 'zmpass'; #NOTA: el usuario zmuser y contraseña zmpass se encuentran en /etc/zm.conf
      select User,Host from mysql.user;  #chequear y asegurarse que el usuario zmuser se haya creado
      quit

El comando SELECT (arriba) debería responder:

  MariaDB [(none)]> select User,Host from mysql.user;
  +--------+------------+
  | User   | Host       |
  +--------+------------+
  | root   | 127.0.0.1  |
  | root   | ::1        |
  |        | localhost  |
  | root   | localhost  |
  | zmuser | localhost  |
  |        | zoneminder |
  | root   | zoneminder |
  +--------+------------+

Servidor web

Cambiar America/Chicago a tu zona horaria correcta.

# sed -i 's|#Include /etc/httpd/mod_php.conf|Include /etc/httpd/mod_php.conf|' /etc/httpd/httpd.conf
# sed -i 's|DirectoryIndex index.html|DirectoryIndex index.html index.htm index.pl index.php|' /etc/httpd/httpd.conf
# sed -i 's|;date.timezone =|date.timezone = America/Chicago|' /etc/php.ini

Luego aderir “Include /etc/httpd/extra/am.conf” a httpd.conf

# sed -i '|Include /etc/httpd/extra/httpd-vhosts.conf|a Include /etc/httpd/extra/zm.conf' /etc/httpd/httpd.conf

Ejecutar

# chmod 755 /etc/rc.d/rc.httpd; /etc/rc.d/rc.httpd start
# chmod 755 /etc/rc.d/rc.zm; /etc/rc.d/rc.zm start

La instalación debe estar completa, abra un navegador web y vaya a:

http://YOUR_ZM_MACHINE/zm

Fuentes

  • Originalmente escrito por arfon
  • Contribuciones por markand
  • Traducción al español por — Antares_alf 2019/04/09 23:43 (UTC)

 es:howtos:software:zoneminder ()