diff options
author | MalakymR <MalakymR@esdf.uk> | 2017-09-06 15:06:22 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2018-02-22 23:48:02 +0100 |
commit | f8796ea819bb3bc16ea85ec84c43dd9f21010982 (patch) | |
tree | 936268db85f72956c4e4d8f06bdb85afaef3fe8c /www-misc/zoneminder/files/README.gentoo | |
parent | app-misc/astrolog: Drop old (diff) | |
download | gentoo-f8796ea819bb3bc16ea85ec84c43dd9f21010982.tar.gz gentoo-f8796ea819bb3bc16ea85ec84c43dd9f21010982.tar.bz2 gentoo-f8796ea819bb3bc16ea85ec84c43dd9f21010982.zip |
www-misc/zoneminder: version bump to 1.30.4
* sample modified to work with new 2.4 apache syntax
* README: import schema as root
Closes: https://github.com/gentoo/gentoo/pull/5661
Diffstat (limited to 'www-misc/zoneminder/files/README.gentoo')
-rw-r--r-- | www-misc/zoneminder/files/README.gentoo | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/www-misc/zoneminder/files/README.gentoo b/www-misc/zoneminder/files/README.gentoo index 07995214d1cf..8713fda6f78a 100644 --- a/www-misc/zoneminder/files/README.gentoo +++ b/www-misc/zoneminder/files/README.gentoo @@ -3,12 +3,12 @@ (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'; + mysql> grant select,insert,alter,update,lock tables,delete on zm.* to 'zmuser'@localhost identified by 'zmpass'; + mysql> flush privileges; Once you completed that you should execute the following: - cd /usr/share/zoneminder - mysql -u zmuser -p < db/zm_create.sql + mysql -p < /usr/share/zoneminder/db/zm_create.sql -2. Set your database settings in /etc/zm.conf, including above topsecretpassword +2. Set your database settings in /etc/zm.conf, including above zmpass 3. Configure apache to use zoneminder, see /usr/share/doc/zoneminder*/10_zoneminder.conf for an example configuration snippet. @@ -23,5 +23,5 @@ 6. Finally point your browser to http://your.webserver/zm -If you are upgrading, you will need to run the zmupdate.pl script: - /usr/bin/zmupdate.pl --version=oldversionnumber [--user=zmuser --pass=topsecretpassword] +If you are upgrading, you will need to run the zmupdate.pl script: + /usr/bin/zmupdate.pl |