How To Install ZoneMinder On Ubuntu 22.04 - 20.04 LTS
How To Install ZoneMinder On Ubuntu 22.04 - 20.04 LTS
How To Install ZoneMinder On Ubuntu 22.04 - 20.04 LTS
04 LTS
What is ZoneMinder?
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 2/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
Enable service
To check status
To get the latest version of ZoneMinder use its PPA, available on launchpad.
You can visit it to find the latest available PPA repo.
For example, in our case, it was 1.36. In the same way, you will also have one.
Use that version with the above PPA repo to add the same-
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 3/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
Once you have added the repository, run the system update command:
sudo rm /etc/mysql/my.cnf
sudo cp /etc/mysql/mysql.conf.d/mysqld.cnf /etc/mysql/my.cnf
sql_mode = NO_ENGINE_SUBSTITUTION
Save the file by pressing Ctrl+O, hitting the Enter key, and then exiting- Ctrl+X.
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 5/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
Press Ctrl + w and then type – Date after that hit the Enter key. This will search
and take you to the area from where we can configure the Time zone: You can
see your TimeZone in the Official PHP doc.
Replace ; from the front of the line- date.timezone and after that add your
timezone.
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 6/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
Save the file- Ctrl+O, press Enter Key, and then Ctrl+X.
Also, reload the Apache service to apply the changes we have made so far.
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 7/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
Point it to :
http//:server-ip-address/zm
Note: Replace, the server-ip-address with the actual address of your Ubuntu
system. If you don’t know the Ip-address then we can get that using the
command – ip a
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 8/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
Uninstall or Remove
In the future, if you want to remove this Linux software then simply run the given
commands to not only uninstall ZoneMinder but also its repository.
To know more about this tool further, refer to the official documentation.
Other Articles:
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 9/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
Ubuntu
ubuntu, ubuntu 18.04, ubuntu 20.04, Ubuntu 22.04
How To Install Apache Cassandra on AlmaLinux 8 | Rocky Linux 8
How to install Icinga2 on Ubuntu 20.04 LTS Focal
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 10/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 11/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
Isaac Conno
February 6, 2022 at 4:40 pm
Nice instructions. Please note that the mysql engine substution stuff isn’t
necessary anymore.
Also the timezone stuff can now be set in ZM options -> System ->
TimeZone which might be easier for many.
Might also want to address that php default memory limits can be too
low (128Mb) and some views like Montage Review might want more.
Reply
petrum
April 23, 2022 at 3:41 pm
Thanks for instructions, I was able to follow, and I can start it up.
However I get and error when I’m trying to Add a monitor in “Console”:
“Width must be set to a valid value. Height must be set to a valid value”
when I try to save. I see no errors in the logs, it must be a UI issue.
Reply
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 12/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
Jack Rainey
May 11, 2022 at 7:38 pm
Reply
woozy
May 27, 2022 at 9:12 pm
how did you guys get it working following these instructions? step 8 won’t
work without setting up mysql. there is a zmuser that needs to be setup
with a password.
Reply
Joe
May 28, 2022 at 11:30 pm
If you set up mySQL first the ZoneMinder installer creates the user for
you.
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 13/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
Reply
Ed Balam
May 31, 2022 at 6:21 am
Reply
Noah
July 18, 2022 at 8:59 pm
Reply
Rick Carter
August 28, 2022 at 5:27 am
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 14/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
Reply
Quas
September 3, 2022 at 1:19 pm
Reply
Jakub
February 8, 2023 at 9:55 pm
Hi, I got error on wsl Ubuntu while starting service zoneminder: cant
connect to local mysql server through socket, pm line 110. Any
suggestion?
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 15/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
Reply
александр
March 16, 2023 at 8:39 am
good day!!
i full work for instruction top.
final afetr input hostname/zm
“<?php
/**
* The Front Controller for handling every request
*
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc.
(https://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Cake Software Foundation, Inc.
(https://cakefoundation.org)
* @link https://cakephp.org CakePHP(tm) Project
* @package app.webroot
* @since CakePHP(tm) v 0.2.9
* @license https://opensource.org/licenses/mit-license.php MIT License
*/
"
page open but not site. this is text file.
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 16/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
Reply
александр
March 16, 2023 at 8:43 am
“<?php
//
// ZoneMinder main web interface file, $Date$, $Revision$
// Copyright (C) 2001-2008 Philip Coombes
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA.
//
…."
i input ****/zm and see not site. I see text file from directory.
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 17/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
Reply
Leave a Comment
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I
comment.
Post Comment
This site uses Akismet to reduce spam. Learn how your comment data is
processed.
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 18/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
Recent Posts
ADVERTISEMENT
About L2S
Linux Shout was crafted as a part of our main portal H2S Media to publish Linux-
related tutorials and open source Software.
Important Links
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 19/20
5/21/23, 7:19 PM How to Install ZoneMinder on Ubuntu 22.04 | 20.04 LTS
Editorial staff
Contact Us
SiteMap
About Us
Privacy Policy
Disclaimer
Facebook
Twitter Us
LinkedIn
About Us
YouTube
https://linux.how2shout.com/how-to-install-zoneminder-on-ubuntu-22-04-20-04-lts/ 20/20