Difference between revisions of "Debian 11 Bullseye with Zoneminder 1.36.x"

From ZoneMinder Wiki
Jump to navigationJump to search
Line 2: Line 2:


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!
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!
'''Upgrade'''The original instructions were for Zoneminder 1.36.5. To upgrade to the current release do steps 2 and 4 below. Should I not update this instruction just use the released version numbers for the install and doc packages.


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.  
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.  
Line 13: Line 15:
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)
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-doc_1.36.7-buster_all.deb


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


3. Then secure Mariadb:
3. Then secure Mariadb:
Line 27: Line 29:
5. Install Zoneminder:
5. Install Zoneminder:


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


6. Additional steps:
6. Additional steps:

Revision as of 19:07, 14 September 2021

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!

UpgradeThe original instructions were for Zoneminder 1.36.5. To upgrade to the current release do steps 2 and 4 below. Should I not update this instruction just use the released version numbers for the install and doc packages.

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.7-buster_all.deb
wget https://zmrepo.zoneminder.com/debian/release-1.36/buster/zoneminder_1.36.7-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.y_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