00c4fdd909
share/zoneminder/htdocs/ajax/stream.php. Because all the PHP extensions self-enable in this decade, there's no need to configure php-sockets. The same is also true of all the other extensions, so just remove those unnecessary instructions from MESSAGE. Bump PKGREVISION to 7 and bump year to 2022 (NZDT).
49 lines
1.3 KiB
Text
49 lines
1.3 KiB
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.5 2021/12/31 12:07:55 dsainty Exp $
|
|
|
|
All documentation for ZoneMinder is now online at:
|
|
|
|
https://www.zoneminder.com
|
|
|
|
|
|
Performance:
|
|
|
|
ZoneMinder benefits dramatically from using libjpeg-turbo. Consider
|
|
building from Pkgsrc with:
|
|
|
|
JPEG_DEFAULT=libjpeg-turbo
|
|
|
|
|
|
To get ZoneMinder started a MySQL database is required.
|
|
|
|
First, create a MySQL user "zmuser":
|
|
|
|
echo "create user 'zmuser'@'localhost' identified by 'zmpass';" | mysql -u root
|
|
|
|
The default password is "zmpass". You may change this to something else, and
|
|
update ZM_DB_PASS in ${PKG_SYSCONFDIR}/zm.conf.
|
|
|
|
|
|
Create the initial database via:
|
|
|
|
mysql -u root < ${PREFIX}/share/zoneminder/db/zm_create.sql
|
|
|
|
|
|
Assign rights to the "zmuser" user via:
|
|
|
|
echo "grant all on * to 'zmuser';" | mysql -u root zm
|
|
|
|
|
|
Upgrade a database from an older version of ZoneMinder via:
|
|
|
|
zmupdate.pl -u root [-p <password>]
|
|
|
|
|
|
To enable the web interface via Apache, add the following line to httpd.conf:
|
|
|
|
Include ${PREFIX}/share/examples/zoneminder/apache/zoneminder.conf
|
|
|
|
PHP may log warnings if the PHP date.timezone configuration is not set.
|
|
Consider assigning a default system time zone to date.timezone in
|
|
${PKG_SYSCONFDIR}/php.ini.
|
|
===========================================================================
|