Skip to content

Commit

Permalink
added Ubuntu 22.04 install instructions (verified)
Browse files Browse the repository at this point in the history
criadoperez committed Dec 12, 2022
1 parent 969c0c5 commit 4536cd3
Showing 1 changed file with 64 additions and 4 deletions.
68 changes: 64 additions & 4 deletions docs/installationguide/ubuntu.rst
Original file line number Diff line number Diff line change
@@ -3,8 +3,64 @@ Ubuntu

.. contents::

Easy Way: Ubuntu 18.04 (Bionic)
-------------------------------
Ubuntu 22.04 (Jammy)
--------------------
These instructions are for a brand new ubuntu 22.04 LTS system which does not have ZM installed.

**Step 1:** Update system

::

sudo apt-get update && sudo apt upgrade -y

**Step 2:** Update repositories (Optional)

ZoneMinder is part of the current standard Ubuntu repository, but sometimes the official repository can lag behind.
To find out check our `releases page <https://github.com/ZoneMinder/zoneminder/releases>`_ for the latest release.

Alternatively, the ZoneMinder project team maintains a `PPA <https://askubuntu.com/questions/4983/what-are-ppas-and-how-do-i-use-them>`_, which is updated immediately following a new release of ZoneMinder.
To use this repository instead of the official Ubuntu repository, enter the following commands:

::

sudo apt install -y software-properties-common
sudo add-apt-repository ppa:iconnor/zoneminder-1.36
sudo apt update

**Step 3:** Install Zoneminder

::
sudo apt install -y zoneminder

**Step 4:** Set permissions

::

sudo chown -R www-data:www-data /usr/share/zoneminder/


**Step 5:** Configure Apache correctly:

::
a2enmod rewrite
a2enconf zoneminder
systemctl restart apache2


**Step 5:** Enable and start zoneminder

::

systemctl enable zoneminder
systemctl start zoneminder

**Step 6:** Open Zoneminder

Open up a browser and go to ``http://hostname_or_ip/zm`` to open the ZoneMinder Console.

Ubuntu 18.04 (Bionic)
---------------------
These instructions are for a brand new ubuntu 18.04 system which does not have ZM
installed.

@@ -177,8 +233,12 @@ CTRL+x to exit
PPA install may need some tweaking of ZMS_PATH in ZoneMinder options. `Socket_sendto or no live streaming`_


Harder Way: Build Package From Source
-------------------------------------
Harder Way: Build Package From Source (Discouraged)
---------------------------------------------------
Historically, installing ZoneMinder onto your system required building from source code by issuing the traditional configure, make, make install commands. To get ZoneMinder to build, all of its dependencies had to be determined and installed beforehand. Init and logrotate scripts had to be manually copied into place following the build. Optional packages such as jscalendar and Cambozola had to be manually installed. Uninstalls could leave stale files around, which could cause problems during an upgrade. Speaking of upgrades, when it comes time to upgrade all these manual steps must be repeated again.

Better methods exist today that do much of this for you. The current development team, along with other volunteers, have taken great strides in providing the resources necessary to avoid building from source.

(These instructions assume installation from source on a ubuntu 15.x+ system)

**Step 1:** Grab the package installer script

0 comments on commit 4536cd3

Please sign in to comment.