Zoneminder is combine in its field.
On the Windows manufacturers often provide a tool for managing cameras, however, they forget that not all are dependent on Windows.
With glory and is open source software that perfectly fulfills its task.
Below I will explain step by step how to install Zoneminder that will help us monitor the apartment on Linux.
In the previous section describing LAMP server installation which will be necessary to install ZoneMindera
I'll skip this installation because everyone can benefit from the previous tutorial we go straight to the installation.
Installation and konfoguracja sudo:
apt-get update
apt-get install sudo
usermod -a -G sudo
exitAnd we run sudo update system:
sudo -i
apt-get upgradeZonemindera package is not in the standard repositories and in backports you must add them to our system:
nano /etc/apt/sources.listAnd we add the repository:
# Backports repository
deb http://httpredir.debian.org/debian jessie-backports main contrib non-freeInstallation and update repositories zonemindera:
apt-get update
apt-get install zoneminderWe can also extract documentation and become acquainted with it:
gunzip /usr/share/doc/zoneminder/README.Debian.gz
cat /usr/share/doc/zoneminder/README.DebianThe next step is to configure the database:
cat /usr/share/zoneminder/db/zm_create.sql | sudo mysql --defaults-file=/etc/mysql/debian.cnf
echo 'grant lock tables,alter,create,select,insert,update,delete,index on zm.* to 'zmuser'@localhost identified by "zmpass";' | sudo mysql --defaults-file=/etc/mysql/debian.cnf mysqlWe give permission to the file:
chgrp -c www-data /etc/zm/zm.confZonemindera we configure and run with system
systemctl enable zoneminder.servicerun the appropriate modules apache:
a2enconf zoneminder
a2enmod cgi
a2enmod rewriteConfiguration zone
nano /etc/php5/apache2/php.ini[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Europe/WarsawThe last step is to restart apache and start zoneminder:
systemctl reload apache2
systemctl start zoneminderIt's all a whole should work correctly
Zoneminder should be available under the: http://ADRESIP / RESOLUTION /
in the case of Ubuntu case it is even easier, authors launched the script autoinstalacji:
Charge from the script:
We give chmod:
chmod 755 zm_installand run the installer do the work for us:
./zm_installThe guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń…
Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji…
Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w…
You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania…
Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.…
The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy…