summaryrefslogtreecommitdiff
path: root/system/ZoneMinder/README.SLACKWARE
diff options
context:
space:
mode:
authorV'yacheslav Stetskevych <slava18@gmail.com>2010-07-09 02:38:22 -0400
committerRobby Workman <rworkman@slackbuilds.org>2010-07-10 02:17:47 -0500
commit6149f3636948188bbad6377fa1f4425591f6fe22 (patch)
tree924b5c6e6dadcaf8f33aaab84abf4211f4bfa828 /system/ZoneMinder/README.SLACKWARE
parent944d84608d9bf501dd16124307fcab77ee5d688d (diff)
downloadslackbuilds-6149f3636948188bbad6377fa1f4425591f6fe22.tar.gz
system/ZoneMinder: Added (security and surveillance solution)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/ZoneMinder/README.SLACKWARE')
-rw-r--r--system/ZoneMinder/README.SLACKWARE60
1 files changed, 60 insertions, 0 deletions
diff --git a/system/ZoneMinder/README.SLACKWARE b/system/ZoneMinder/README.SLACKWARE
new file mode 100644
index 0000000000..a6330bc00e
--- /dev/null
+++ b/system/ZoneMinder/README.SLACKWARE
@@ -0,0 +1,60 @@
+README.SLACKWARE
+Written by V'yacheslav Stetskevych <slava18@gmail.com>
+
+This build uses the mmap method for camera access, as opposed to shared memory.
+That means, there is no need to configure shared memory limits any more.
+You can revert back to the shm method by removing --enable-mmap from the build.
+
+To use ZoneMinder, you need to have Apache, PHP and MySQL.
+
+CONFIGURATION
+# Be sure to follow the dircetions in /etc/rc.d/rc.mysqld before you try and
+ setup your database.
+
+1) Database setup:
+# mysql -u root -p
+source /usr/share/ZoneMinder/db/zm_create.sql
+use mysql;
+grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';
+quit;
+
+Reload the mysql server with "mysqladmin reload".
+
+2) Apache configuration:
+Uncomment mod_php at the end of /etc/httpd/httpd.conf.
+Add this line to httpd.conf:
+ Include /etc/zm/zm_apache.conf
+
+# You may need to chmod +x /etc/rc.d/rc.httpd first
+Restart apache with "/etc/rc.d/rc.httpd restart".
+
+## NOTE: This should be fixed in perl-Date-Manip and not needed now. ###
+3) Populate /etc/timezone (fixes zmfilter.pl): #
+perl-Date-Manip requires the file /etc/timezone to be present. #
+Slackware does not ship this file, so use this script to populate it: #
+ #
+ localTime="$(readlink /etc/localtime-copied-from)"; #
+ echo ${localTime#*/usr/share/zoneinfo/} > /etc/timezone #
+########################################################################
+
+To make ZoneMinder launch on system boot:
+/etc/rc.d/rc.local:
+==================================
+if [ -x /etc/rc.d/rc.zm ]; then
+ /etc/rc.d/rc.zm start
+fi
+
+/etc/rc.d/rc.local_shutdown:
+==================================
+if [ -x /etc/rc.d/rc.zm ]; then
+ /etc/rc.d/rc.zm stop
+fi
+
+Database upgrade files are provided in /usr/share/ZoneMinder/db.
+
+See http://www.zoneminder.com/wiki/index.php/Documentation#Logging for info
+on how to counter the massive amount of syslog spam that ZoneMinder generates.
+
+The ZoneMinder web interface shall be available at http://hostname/zm/
+
+Have fun!