new file: dev-perl/Data-Entropy/Data-Entropy-0.7.0-r1.ebuild new file: dev-perl/Data-Entropy/Manifest new file: dev-perl/Data-Entropy/metadata.xml new file: dev-perl/HTTP-Lite/HTTP-Lite-2.44.ebuild new file: dev-perl/HTTP-Lite/Manifest new file: dev-perl/HTTP-Lite/metadata.xml new file: dev-perl/X10/Manifest new file: dev-perl/X10/X10-0.04.ebuild new file: dev-perl/X10/metadata.xml new file: www-misc/zoneminder/Manifest new file: www-misc/zoneminder/files/10_zoneminder.conf new file: www-misc/zoneminder/files/README.gentoo new file: www-misc/zoneminder/files/conf.d new file: www-misc/zoneminder/files/init.d new file: www-misc/zoneminder/files/zoneminder-1.36.18-semaphore.patch new file: www-misc/zoneminder/files/zoneminder.service new file: www-misc/zoneminder/metadata.xml new file: www-misc/zoneminder/zoneminder-1.36.19.ebuild new file: www-misc/zoneminder/zoneminder-1.36.20.ebuild new file: www-misc/zoneminder/zoneminder-1.36.21.ebuild new file: www-misc/zoneminder/zoneminder-1.36.23.ebuild new file: www-misc/zoneminder/zoneminder-1.36.24.ebuild new file: www-misc/zoneminder/zoneminder-9999.ebuild
34 lines
1.4 KiB
Plaintext
34 lines
1.4 KiB
Plaintext
New Installation:
|
|
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 lock tables,alter,drop,select,insert,update,delete,create,index,alter routine,create routine, trigger,execute on zm.* to 'zmuser'@localhost identified by 'zmpass';
|
|
mysql> flush privileges;
|
|
Once you completed that you should execute the following:
|
|
mysql -p < /usr/share/zoneminder/db/zm_create.sql
|
|
|
|
2. Set your database settings in /etc/zm/conf.d/99-local.conf, including above zmpass
|
|
ZM_DB_USER=zmuser
|
|
ZM_DB_PASS=zmpass
|
|
|
|
3. Verify zoneminder apache configuration /etc/apache2/vhosts.d/10_zoneminder.conf
|
|
for an example configuration snippet.
|
|
bzcat /usr/share/doc/zoneminder*/10_zoneminder.conf.bz2
|
|
|
|
4. Enable PHP in your webserver configuration /etc/conf.d/apache2
|
|
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PHP -D PROXY"
|
|
|
|
5. set date.timezone in /etc/php/apache2-php*/php.ini
|
|
and restart/reload the webserver.
|
|
|
|
6. Start the zoneminder daemon:
|
|
/etc/init.d/zoneminder start
|
|
|
|
7. Finally point your browser to http://your.webserver/zm
|
|
|
|
|
|
Upgrading:
|
|
You will need to run the zmupdate.pl script
|