You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
…
|
||
---|---|---|
.. | ||
10_zoneminder.conf | ||
README.gentoo | ||
conf.d | ||
init.d | ||
zoneminder-1.24.2-db_upgrade_script_location.patch | ||
zoneminder-1.26.5-automagic.patch |
README.gentoo
1. If this is a new installation, you will need to create a MySQL
database for zoneminder to use
(see https://wiki.gentoo.org/wiki/MySQL/Startup_Guide).
E.g., when logged into mysql as root,
mysql> CREATE DATABASE \`zm\`;
mysql> GRANT ALL ON zm.* TO 'zmuser'@'localhost' IDENTIFIED BY 'topsecretpassword';
Once you completed that you should execute the following:
cd /usr/share/zoneminder
mysql -u zmuser -p < db/zm_create.sql
2. Set your database settings in /etc/zm.conf, including above topsecretpassword
3. Configure apache to use zoneminder, see /usr/share/doc/zoneminder*/10_zoneminder.conf
for an example configuration snippet.
4. Enable PHP in your webserver configuration,
enable short_open_tags in php.ini,
set the time zone in php.ini,
and restart/reload the webserver.
5. Start the zoneminder daemon:
/etc/init.d/zoneminder start
6. Finally point your browser to http://your.webserver/zoneminder
If you are upgrading, you will need to run the zmupdate.pl script:
/usr/bin/zmupdate.pl --version=oldversionnumber [--user=zmuser --pass=topsecretpassword]