Difference between pages "SEO" and "Package:Zoneminder"
Threesixes (talk | contribs) m (more details) |
Threesixes (talk | contribs) m (more details (more php-fpm friendly link)) |
||
Line 1: | Line 1: | ||
{{Ebuild | |||
|Summary=ZoneMinder allows you to capture, analyse, record and monitor any cameras attached to your system | |||
|CatPkg=www-misc/zoneminder | |||
|Homepage=http://www.zoneminder.com/ | |||
}} | |||
{{PageNeedsUpdates}} | |||
ZoneMinder is a web/net cam [[web-server-stack]] web application to create streams of video for security feeds. ZoneMinder supports motion logging, zooming, and other DVR functions. | |||
=== | === Installation === | ||
{{console|body=###i## emerge www-misc/zoneminder}} | |||
=== | === Configuration === | ||
ZoneMinder's configuration files are located @ {{f|/etc/conf.d/zoneminder}} & {{f|/etc/zm.conf}}. | |||
==== Apache ==== | |||
{{file|name= /etc/apache2/vhosts.d/10_zoneminder.conf|lang=|desc=Set apache configs.|body= | |||
ScriptAlias /cgi-bin/zms "/usr/libexec/zoneminder/cgi-bin/zms" | |||
ScriptAlias /cgi-bin/nph-zms "/usr/libexec/zoneminder/cgi-bin/nph-zms" | |||
<Directory "/usr/libexec/zoneminder/cgi-bin"> | |||
AllowOverride All | |||
Options +ExecCGI | |||
Require all granted | |||
</Directory> | |||
Alias /zm "/usr/share/zoneminder/www" | |||
<Directory "/usr/share/zoneminder/www"> | |||
Options -Indexes +MultiViews +FollowSymLinks | |||
AllowOverride All | |||
Require all granted | |||
</Directory>}} | |||
{{file|name= /etc/conf.d/apache2|lang=|desc=Set apache configs.|body= | |||
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PHP5 -D SECURITY"}} | |||
=== | {{file|name=/etc/zm.conf|lang=|desc=Set db password in ZoneMinder configs.|body= | ||
ZM_DB_USER=zmuser | |||
ZM_DB_PASS=changeme}} | |||
{{ | ==== Database ==== | ||
===== MySQL ===== | |||
ZoneMinder requires a database to run. {{package|dev-db/mysql}} and its equivalent alternatives will suffice. | |||
{{console|body=###i## | {{console|body=###i## mysql -u root -p | ||
mysql> create database zm; | |||
mysql> \q}} | |||
Deploy ZoneMinder's database settings: | |||
{{console|body=###i##mysql -p zm < /usr/share/zoneminder/db/zm_create.sql}} | |||
Create a database user for ZoneMinder to use. Make sure the /etc/zm.conf zm db user & zm db pass settings match the users, and passwords here. | |||
{{console|body=###i## mysql -u root -p | |||
mysql> use zm; | |||
mysql> grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'changeme'; | |||
mysql> flush privileges; | |||
mysql> \q}} | |||
==== Init ==== | |||
To start the ZoneMinder service: | |||
{{console|body=###i## rc-update add zoneminder | |||
###i## rc}} | |||
http:// | ==== Web Interface ==== | ||
The ZoneMinder web interface can be viewed @ http://127.0.0.1/zm/index.php | |||
==== Adding Cameras ==== | |||
{{SectionNeedsUpdates}} | |||
=== External Resources === | |||
*http://www.zoneminder.com/wiki/index.php/Main_Documentation#Check_that_your_Camera_Works.21 | |||
*https://wiki.gentoo.org/wiki/ZoneMinder | |||
*https://wiki.archlinux.org/index.php/ZoneMinder | |||
=== | *http://www.puccinellidigital.com/musings/notes/zoneminder-nginx | ||
{{EbuildFooter}} | |||
http://www. | |||
*https:// | |||
*https:// | |||
*http://www. | |||
Revision as of 23:50, April 23, 2015
Zoneminder
We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.
ZoneMinder is a web/net cam web-server-stack web application to create streams of video for security feeds. ZoneMinder supports motion logging, zooming, and other DVR functions.
Installation
root # emerge www-misc/zoneminder
Configuration
ZoneMinder's configuration files are located @ /etc/conf.d/zoneminder
& /etc/zm.conf
.
Apache
/etc/apache2/vhosts.d/10_zoneminder.conf
- Set apache configs.ScriptAlias /cgi-bin/zms "/usr/libexec/zoneminder/cgi-bin/zms" ScriptAlias /cgi-bin/nph-zms "/usr/libexec/zoneminder/cgi-bin/nph-zms" <Directory "/usr/libexec/zoneminder/cgi-bin"> AllowOverride All Options +ExecCGI Require all granted </Directory> Alias /zm "/usr/share/zoneminder/www" <Directory "/usr/share/zoneminder/www"> Options -Indexes +MultiViews +FollowSymLinks AllowOverride All Require all granted </Directory>
/etc/conf.d/apache2
- Set apache configs.APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PHP5 -D SECURITY"
/etc/zm.conf
- Set db password in ZoneMinder configs.ZM_DB_USER=zmuser ZM_DB_PASS=changeme
Database
MySQL
ZoneMinder requires a database to run. dev-db/mysql and its equivalent alternatives will suffice.
root # mysql -u root -p mysql> create database zm; mysql> \q
Deploy ZoneMinder's database settings:
root #mysql -p zm < /usr/share/zoneminder/db/zm_create.sql
Create a database user for ZoneMinder to use. Make sure the /etc/zm.conf zm db user & zm db pass settings match the users, and passwords here.
root # mysql -u root -p mysql> use zm; mysql> grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'changeme'; mysql> flush privileges; mysql> \q
Init
To start the ZoneMinder service:
root # rc-update add zoneminder root # rc
Web Interface
The ZoneMinder web interface can be viewed @ http://127.0.0.1/zm/index.php
Adding Cameras
This section is in need of updates.
External Resources
- http://www.zoneminder.com/wiki/index.php/Main_Documentation#Check_that_your_Camera_Works.21
- https://wiki.gentoo.org/wiki/ZoneMinder
- https://wiki.archlinux.org/index.php/ZoneMinder
- http://www.puccinellidigital.com/musings/notes/zoneminder-nginx