diff options
author | dsainty <dsainty@pkgsrc.org> | 2013-03-15 02:03:36 +0000 |
---|---|---|
committer | dsainty <dsainty@pkgsrc.org> | 2013-03-15 02:03:36 +0000 |
commit | a2593659ec2748de4e6d4cef2f6a997f204e72bc (patch) | |
tree | bd294729286eb2dce7a2b46ac3ced28876bc8a46 /security | |
parent | 7b999a73a6ece307e9b4d0b69ae12f5e9293607d (diff) | |
download | pkgsrc-a2593659ec2748de4e6d4cef2f6a997f204e72bc.tar.gz |
How to get started setting up ZoneMinder.
Diffstat (limited to 'security')
-rw-r--r-- | security/zoneminder/MESSAGE | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/security/zoneminder/MESSAGE b/security/zoneminder/MESSAGE new file mode 100644 index 00000000000..c512d1c5e30 --- /dev/null +++ b/security/zoneminder/MESSAGE @@ -0,0 +1,44 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1 2013/03/15 02:03:36 dsainty Exp $ + +All documentation for ZoneMinder is now online at: + +http://www.zoneminder.com/wiki/index.php/Documentation + + +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 + +Also follow the configuration instructions for www/ap-php and +databases/php-mysql packages. Use pkg_info to read their MESSAGE files. + +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. +=========================================================================== |