Installing Zoneminder on Elementary OS

Zoneminder is a free and open-source camera security and surveillance software that allows you to monitor and record multiple streams of video from various cameras. In this tutorial, we will guide you through the installation of Zoneminder on Elementary OS.

Prerequisites

Before you begin, ensure that your Elementary OS system is up-to-date by running the following command:

sudo apt update && sudo apt upgrade

Installing Dependencies

Zoneminder requires some dependencies to be installed on your system. Run the following command to install them:

sudo apt install apache2 mysql-server php libapache2-mod-php php-mysql php-gd libphp-jpgraph libarchive-zip-perl libmime-lite-perl libunix-syslog-perl libwww-perl libdbd-mysql-perl libsys-cpu-perl libsys-meminfo-perl libio-multiplex-perl libjson-perl

Installing Zoneminder

  1. First, you need to add the Zoneminder repository to your system. Run the following command:
echo 'deb https://zmrepo.zoneminder.com/debian/release-1.34.23 buster/' | sudo tee /etc/apt/sources.list.d/zoneminder.list
  1. Next, add the GPG key for the Zoneminder repository:
wget -O - https://zmrepo.zoneminder.com/debian/archive-keyring.gpg | sudo apt-key add -
  1. Once the repository has been added and the key has been added, update the system's package list:
sudo apt update
  1. Finally, install Zoneminder using the following command:
sudo apt install zoneminder

Configuring Zoneminder

  1. Start the Zoneminder service using the following command:
sudo systemctl start zoneminder
  1. To enable Zoneminder on boot, run the following command:
sudo systemctl enable zoneminder
  1. You need to give the user permissions to access the Zoneminder files.
sudo usermod -a -G www-data <username>

Replace <username> with your user's name.

  1. Now, open your web browser and go to http://localhost/zm/ to access the Zoneminder web interface.

  2. Login with username admin and password admin. You are recommended to change this password once you have logged in.

That's it! You have successfully installed and configured Zoneminder on your Elementary OS system. You can now use Zoneminder to monitor and record videos from your cameras.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!