[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.
Differences
This shows you the differences between two versions of the page.
howtos:software:zoneminder [2019/02/21 11:43 (UTC)] – Rename from install_zoneminder markand | howtos:software:zoneminder [2019/02/21 12:00 (UTC)] (current) – Cleanup and unify markand | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | + | ====== ZoneMinder |
- | ====== | + | |
- | (written for Slackware 14.2 and ZoneMinder 1.31.1 on Slackbuilds) \\ | + | |
- | AS ROOT - \\ | + | ZoneMinder is an opensource monitoring tool. |
- | 1) Setup MariaDB | + | |
- | * [[howtos: | + | |
- | 2) Install FFMPEG (from Slackbuilds). | + | ====== Prerequisites ====== |
- | 3) Install | + | * [[ffmpeg]] |
+ | * [[mariadb]] | ||
+ | |||
+ | ====== Installation ====== | ||
+ | |||
+ | ZoneMinder | ||
+ | |||
+ | ===== ONVIF cameras ===== | ||
+ | |||
+ | If you want to use ONVIF cameras | ||
+ | |||
+ | * Install perl-Data-UUID | ||
+ | * Install other Perl modules via CPan: | ||
- | 3a) If you want to use ONVIF cameras: | ||
- | * Install perl-Data-UUID (from Slackbuilds) | ||
- | * Install other Perl modules via cpan: | ||
< | < | ||
- | | + | # perl -MCPAN -e ' |
</ | </ | ||
- | 4) Setup ZM database | + | ===== Database ===== |
< | < | ||
- | | + | # mysql -u root -p < / |
- | mysql -u root -p | + | # mysql -u root -p |
grant select, | grant select, | ||
select User,Host from mysql.user; | select User,Host from mysql.user; | ||
quit | quit | ||
</ | </ | ||
+ | |||
The SELECT command (above) should reply: | The SELECT command (above) should reply: | ||
+ | |||
< | < | ||
MariaDB [(none)]> | MariaDB [(none)]> | ||
Line 42: | Line 50: | ||
</ | </ | ||
- | 5) Configure Apache (enable PHP) and start it: | + | ===== Web server ===== |
+ | |||
+ | Change '' | ||
< | < | ||
- | | + | # sed -i ' |
- | sed -i ' | + | # sed -i ' |
- | sed -i ' | + | # sed -i ' |
- | #**** CHANGE America/ | + | |
</ | </ | ||
- | | + | Then Add " |
< | < | ||
- | sed -i ' | + | # sed -i ' |
</ | </ | ||
- | 7) Start httpd | + | ===== Run ===== |
< | < | ||
- | chmod 755 / | + | # chmod 755 / |
</ | </ | ||
- | 8) Start ZoneMinder: | ||
< | < | ||
- | chmod 755 / | + | # chmod 755 / |
</ | </ | ||
Line 68: | Line 79: | ||
http:// | http:// | ||
- | |||
====== Sources ====== | ====== Sources ====== | ||
- | <!-- If you are copying information from another source, then specify that source --> | ||
- | <!-- * Original source: [[http:// | ||
- | <!-- Authors are allowed to give credit to themselves! --> | ||
- | * Originally written by [[wiki: | ||
- | <!-- * Contributions by [[wiki: | ||
- | <!-- Please do not modify anything below, except adding new tags.--> | + | * Originally written by [[wiki: |
- | <!-- You must remove the tag-word " | + | * Contributions by [[wiki: |
{{tag> | {{tag> |