Zoneminder (Ubuntu 18.04): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 71: | Zeile 71: | ||
<pre> | <pre> | ||
zmaudit.pl -c | sudo zmaudit.pl -c | ||
</pre> | </pre> | ||
<pre> | <pre> | ||
Can't locate Number/Bytes/Human.pm in @INC (you may need to install the Number::Bytes::Human module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base) at /usr/share/perl5/ZoneMinder/Event.pm line 39. | |||
Compilation failed in require at /usr/bin/zmaudit.pl line 143. | |||
</pre> | |||
<pre> | |||
sudo apt-get install -y libnumber-bytes-human-perl | |||
</pre> | </pre> | ||
Version vom 30. Mai 2020, 12:16 Uhr
Voraussetzungen
LAMP-Server (Installation PHP ist unter Apache HTTP beschrieben):
Installation
sudo apt-get install zoneminder vlc-plugin-base
sudo systemctl enable zoneminder.service
Konfiguration
MySQL
sudo mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql sudo mysql -uroot -p -e "grant all on zm.* to 'zmuser'@localhost identified by 'zmpass';" sudo mysqladmin -uroot -p reload
Apache HTTP
sudo chmod 740 /etc/zm/zm.conf sudo chown root:www-data /etc/zm/zm.conf sudo chown -R www-data:www-data /var/cache/zoneminder/ sudo adduser www-data video
sudo a2enmod cgi sudo a2enmod rewrite sudo a2enconf zoneminder
sudo vi /etc/php/7.3/apache2/php.ini
date.timezone = Europe/Vienna
sudo systemctl restart apache2
Links
https://wiki.zoneminder.com/Raspberry_Pi_4_-_Raspbian#Install_and_Configure_Zoneminder
Neustart
sudo systemctl start zoneminder.service sudo systemctl status zoneminder.service
Probleme
['zmaudit.pl -c' exited abnormally, exit status 255]
sudo zmaudit.pl -c
Can't locate Number/Bytes/Human.pm in @INC (you may need to install the Number::Bytes::Human module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base) at /usr/share/perl5/ZoneMinder/Event.pm line 39. Compilation failed in require at /usr/bin/zmaudit.pl line 143.
sudo apt-get install -y libnumber-bytes-human-perl
Links
https://github.com/ZoneMinder/zoneminder
https://wiki.zoneminder.com/Hardware_Compatibility_List
Zurück zu Zoneminder