https://wiki.zoneminder.com/api.php?action=feedcontributions&user=Worm6666&feedformat=atomZoneMinder Wiki - User contributions [en]2024-03-29T13:43:32ZUser contributionsMediaWiki 1.37.1https://wiki.zoneminder.com/index.php?title=FAQ&diff=16704FAQ2021-10-04T09:01:26Z<p>Worm6666: /* Sample FAQ Heading */</p>
<hr />
<div><br />
==User Generated ZoneMinder Frequently Asked Questions ==<br />
<br />
These are user generated FAQs for ZoneMinder.<br />
The official ZoneMinder FAQ can be found at http://zoneminder.readthedocs.org/en/latest/faq.html<br />
<br />
Please treat this page as a supplement to the official FAQ. If you have tips that are not covered in the official FAQ<br />
please add them here. If we find some tips really interesting, we may move them to the official FAQ.<br />
<br />
You can add your FAQ by following the format below<br />
<br />
=== Sample FAQ Heading ===<br />
Sample FAQ answer.<br />
<br />
----<br />
<br />
=== Montage Layout Names duplicity ===<br />
<br />
Problem with Montage Layout naming - using same name <b><i>causes creating new one instead of updating existing one...</i></b><br><br />
Ubuntu 20.04.3 LTS Focal Fossa - easy setup - thank You ZoneMinder !<br><br />
- but then You need to access the database "zm" - and I searched and found easy solution and modified a little...<br><br />
- in this case - I use webui of phpmyadmin to manage the content of database - it is easy for beginners,<br><br />
and You cannot harm the database so easy like with bad syntax on command line...<br><br />
<br />
<b>1./ log-in to terminal as su</b><br><br />
sudo su<br />
(provide password for Your superuser)<br><br />
<br />
<b>2./ install phpmyadmin</b><br><br />
apt-get install phpmyadmin<br />
- I have used for both apache2 and lighttpd<br><br />
- I have created custom password (for example: PASSword123)<br><br />
<br />
<b>3./ modify access to databases for default user "phpmyadmin"</b><br><br />
- enter mysql:<br><br />
mysql -u root -pzm<br />
- pzm is for -p and zm because "-p zm" with space don't work...<br><br />
- I have used command for all databases for easy use...<br><br />
GRANT ALL ON *.* TO 'phpmyadmin'@'localhost'<br />
- this causes that user "phpmyadmin" has all databases on host visible and editable<br><br />
- normaly it would look like this - only for "zm" database<br><br />
GRANT ALL ON zm.* TO 'phpmyadmin'@'localhost'<br />
<br />
<b>4./ delete or modify unwanted layouts</b><br><br />
- connect from browser:<br />
http://localhost/phpmyadmin<br />
- username "phpmyadmin"<br />
- password "PASSword123"<br />
- open database "zm" and look for table "MontageLayouts"<br><br />
- do what You want (study how layout is defined...) :-)<br><br />
- or simply delete unwanted or broken layout - after this refresh page with layout and<br><br />
in the dropdown menu of layouts is the deleted one (or more) not more available...<br><br />
<br />
<b><i>Don't forget - MYSQL and PHPMYADMIN are two DIFFERENT things...<br><br />
- also take care about usernames and passwords</i></b><br />
<br />
----</div>Worm6666