Zoneminder (Ubuntu 18.04): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 34: | Zeile 34: | ||
sudo chown -R www-data:www-data /var/cache/zoneminder/ | sudo chown -R www-data:www-data /var/cache/zoneminder/ | ||
sudo adduser www-data video | sudo adduser www-data video | ||
</pre> | |||
<pre> | |||
sudo a2enmod cgi | |||
sudo a2enmod rewrite | |||
sudo a2enconf zoneminder | |||
</pre> | |||
<pre> | |||
sudo nano /etc/php/7.3/apache2/php.ini | |||
</pre> | </pre> | ||
Version vom 30. Mai 2020, 10:57 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 nano /etc/php/7.3/apache2/php.ini
Links
https://wiki.zoneminder.com/Raspberry_Pi_4_-_Raspbian#Install_and_Configure_Zoneminder
Neustart
sudo systemctl start zoneminder.service sudo systemctl status zoneminder.service
Links
https://github.com/ZoneMinder/zoneminder
https://wiki.zoneminder.com/Hardware_Compatibility_List
Zurück zu Zoneminder