aboutsummaryrefslogtreecommitdiff
path: root/system/ZoneMinder/README.SLACKWARE
diff options
context:
space:
mode:
authorGene Baxter <GenoBob@gmail.com>2018-04-30 01:44:39 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-05-01 22:01:20 +0100
commit215eae93b78f90e24900cd7ff3a76b8eaca9d420 (patch)
tree23c9f20627c6a7ba73011f6b14998fa155926228 /system/ZoneMinder/README.SLACKWARE
parentc2e0f210493bfcf515d5449d2981a8af216c8ddd (diff)
system/ZoneMinder: Updated for version 1.31.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/ZoneMinder/README.SLACKWARE')
-rw-r--r--system/ZoneMinder/README.SLACKWARE39
1 files changed, 4 insertions, 35 deletions
diff --git a/system/ZoneMinder/README.SLACKWARE b/system/ZoneMinder/README.SLACKWARE
index c19f5391d2992..0c3c7990430f3 100644
--- a/system/ZoneMinder/README.SLACKWARE
+++ b/system/ZoneMinder/README.SLACKWARE
@@ -2,7 +2,7 @@ README.SLACKWARE
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 adding -DSM_NO_MMAP=ON to the build.
+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.
@@ -10,19 +10,8 @@ CONFIGURATION
# Be sure to follow the directions in /etc/rc.d/rc.mysqld before you try and
setup your database.
-chmod 755 /etc/rc.d/rc.mysqld
-chmod 755 /etc/rc.d/rc.httpd
-
-mysql_install_db --user=mysql
-chown -R dmysql:mysql /var/lib/mysql
-mysql_install_db --user=mysql
-chmod 755 /etc/rc.d/rc.mysqld
-/etc/rc.d/rc.mysqld start
-mysql_secure_installation
-
1) Database setup:
# mysql -u root -p
-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';
@@ -31,22 +20,13 @@ quit;
Reload the mysql server with "mysqladmin reload -u root -p".
2) Apache configuration:
-Edit /etc/httpd/httpd.conf
-Uncomment mod_php
-Uncomment LoadModule cgid_module
-Uncomment AddHandler cgi-script .cgi
+Uncomment mod_php at the end of /etc/httpd/httpd.conf.
Add this line to httpd.conf:
-Include /etc/httpd/extra/zm.conf# You may need to chmod +x /etc/rc.d/rc.httpd first
+ 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".
-# I also had to add a line to my php.ini file for my time zone
-[Date]
-; Defines the default timezone used by the date functions
-; http://php.net/date.timezone
-date.timezone = America/Los_Angeles
-
-
To make ZoneMinder launch on system boot:
/etc/rc.d/rc.local:
==================================
@@ -68,14 +48,3 @@ 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!
-
-
-If you use sbopkg, use sqg to generate queuefile for dependencies:
-sqg -p ZoneMinder
-sbopkg -i ZoneMinder (pick Queue)
-
-OPTIONAL
-sbopkg -i perl-Mozilla-CA -i perl-IO-Socket-SSL -i Net-SSLeay -i perl-LWP-Protocol-https
-
-If you choose to install ffmpeg, this is the sbopkg build line I used.
-sbopkg -i xvidcore -i x264 -i twolame -i lame -i ffmpeg