Debian 11 Bullseye with Zoneminder 1.36.x

From ZoneMinder Wiki
Revision as of 19:08, 12 August 2021 by Bbunge (talk | contribs)
Jump to navigationJump to search

Updated 11AUG21 for Debian 11

Debian 11 Bullseye is being released with Zoneminder 1.34.23 and as usual for Debian the zm database needs to be created manually. This is not user friendly so I have created this install to use the Zoneminder-Buster packages from the zmrepo. Yes this works as I have installed this on my production server!

Note: The following is for amd64 version of Bullseye. If there are packages in the zmrepo for other Buster architectures this should work by substituting the install packages for your architecture.

This assumes your user has sudo privilages. See: https://milq.github.io/enable-sudo-user-account-debian/

1. Install Debian 11 (Bullseye), desktop or server version, along with Apache2, PHP and your favorite database (Mariadb recommended). A quick way to install LAMP this is:

sudo apt install apache2 mariadb-server php libapache2-mod-php php-mysql

2. Download zoneminder-doc_1.36.5-buster_all.deb and zoneminder_1.36.5-buster_amd64.deb (Yes, these are the files for Buster but read on)

wget https://zmrepo.zoneminder.com/debian/release-1.36/buster/zoneminder-doc_1.36.5-buster_all.deb
wget https://zmrepo.zoneminder.com/debian/release-1.36/buster/zoneminder_1.36.5-buster_amd64.deb

3. Then secure Mariadb:

sudo mysql_secure_installation

4. Install Gdebi:

sudo apt install gdebi

5. Install Zoneminder:

sudo gdebi zoneminder_1.36.5-buster_amd64.deb zoneminder-doc_1.36.5_all.deb

6. Additional steps:

sudo systemctl enable zoneminder.service
sudo systemctl start zoneminder
sudo a2enconf zoneminder
sudo a2enmod rewrite
sudo service apache2 reload

9. Open Zoneminder http://(IP-Address)/zm and remember to change the Timezone in Options-Timezone