Difference between revisions of "FAQ"

From ZoneMinder Wiki
Jump to navigationJump to search
 
(163 intermediate revisions by 52 users not shown)
Line 1: Line 1:


== ZoneMinder Frequently Asked Questions ==
==User Generated ZoneMinder Frequently Asked Questions ==


This is the new FAQ page. I will be migrating the existing FAQs here as soon as possible.
These are user generated FAQs for ZoneMinder.
The official ZoneMinder FAQ can be found at http://zoneminder.readthedocs.org/en/latest/faq.html


Feel free to contribute any FAQs that you think are missing.
Please treat this page as a supplement to the official FAQ. If you have tips that are not covered in the official FAQ
please add them here. If we find some tips really interesting, we may move them to the official FAQ.


== How can I stop ZoneMinder filling up my disk? ==
You can add your FAQ by following the format below


Test
=== Sample FAQ Heading ===
Sample FAQ answer.
 
----
 
=== Montage Layout Names duplicity ===
 
Problem with Montage Layout naming - using same name <b><i>causes creating new one instead of updating existing one...</i></b><br>
Ubuntu 20.04.3 LTS Focal Fossa - easy setup - thank You ZoneMinder !<br>
- but then You need to access the database "zm" - and I searched and found easy solution and modified a little...<br>
- in this case - I use webui of phpmyadmin to manage the content of database - it is easy for beginners,<br>
and You cannot harm the database so easy like with bad syntax on command line...<br>
 
<b>1./ log-in to terminal as su</b><br>
  sudo su
(provide password for Your superuser)<br>
 
<b>2./ install phpmyadmin</b><br>
  apt-get install phpmyadmin
- I have used for both apache2 and lighttpd<br>
- I have created custom password (for example: PASSword123)<br>
 
<b>3./ modify access to databases for default user "phpmyadmin"</b><br>
- enter mysql:<br>
  mysql -u root -pzm
- pzm is for -p and zm because "-p zm" with space don't work...<br>
- I have used command for all databases for easy use...<br>
  GRANT ALL ON *.* TO 'phpmyadmin'@'localhost'
- this causes that user "phpmyadmin" has all databases on host visible and editable<br>
- normaly it would look like this - only for "zm" database<br>
  GRANT ALL ON zm.* TO 'phpmyadmin'@'localhost'
 
<b>4./ delete or modify unwanted layouts</b><br>
- connect from browser:
  http://localhost/phpmyadmin
- username "phpmyadmin"
- password "PASSword123"
- open database "zm" and look for table "MontageLayouts"<br>
- do what You want (study how layout is defined...) :-)<br>
- or simply delete unwanted or broken layout - after this refresh page with layout and<br>
in the dropdown menu of layouts is the deleted one (or more) not more available...<br>
 
<b><i>Don't forget - MYSQL and PHPMYADMIN are two DIFFERENT things...<br>
- also take care about usernames and passwords</i></b>
 
----

Latest revision as of 05:01, 4 October 2021

User Generated ZoneMinder Frequently Asked Questions

These are user generated FAQs for ZoneMinder. The official ZoneMinder FAQ can be found at http://zoneminder.readthedocs.org/en/latest/faq.html

Please treat this page as a supplement to the official FAQ. If you have tips that are not covered in the official FAQ please add them here. If we find some tips really interesting, we may move them to the official FAQ.

You can add your FAQ by following the format below

Sample FAQ Heading

Sample FAQ answer.


Montage Layout Names duplicity

Problem with Montage Layout naming - using same name causes creating new one instead of updating existing one...
Ubuntu 20.04.3 LTS Focal Fossa - easy setup - thank You ZoneMinder !
- but then You need to access the database "zm" - and I searched and found easy solution and modified a little...
- in this case - I use webui of phpmyadmin to manage the content of database - it is easy for beginners,
and You cannot harm the database so easy like with bad syntax on command line...

1./ log-in to terminal as su

 sudo su

(provide password for Your superuser)

2./ install phpmyadmin

 apt-get install phpmyadmin

- I have used for both apache2 and lighttpd
- I have created custom password (for example: PASSword123)

3./ modify access to databases for default user "phpmyadmin"
- enter mysql:

 mysql -u root -pzm

- pzm is for -p and zm because "-p zm" with space don't work...
- I have used command for all databases for easy use...

 GRANT ALL ON *.* TO 'phpmyadmin'@'localhost'

- this causes that user "phpmyadmin" has all databases on host visible and editable
- normaly it would look like this - only for "zm" database

 GRANT ALL ON zm.* TO 'phpmyadmin'@'localhost'

4./ delete or modify unwanted layouts
- connect from browser:

 http://localhost/phpmyadmin

- username "phpmyadmin" - password "PASSword123" - open database "zm" and look for table "MontageLayouts"
- do what You want (study how layout is defined...) :-)
- or simply delete unwanted or broken layout - after this refresh page with layout and
in the dropdown menu of layouts is the deleted one (or more) not more available...

Don't forget - MYSQL and PHPMYADMIN are two DIFFERENT things...
- also take care about usernames and passwords