Zoneminder (Ubuntu 18.04): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 15: | Zeile 15: | ||
<pre> | <pre> | ||
sudo mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql | 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 | |||
</pre> | |||
<pre> | |||
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/ | |||
</pre> | |||
<pre> | |||
sudo systemctl enable zoneminder.service | |||
sudo adduser www-data video | |||
</pre> | </pre> | ||
Version vom 30. Mai 2020, 10:43 Uhr
Voraussetzungen
LAMP-Server (Installation PHP ist unter Apache HTTP beschrieben):
Installation
sudo apt-get install zoneminder vlc-plugin-base
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
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 systemctl enable zoneminder.service sudo adduser www-data video
Links
https://wiki.zoneminder.com/Raspberry_Pi_4_-_Raspbian#Install_and_Configure_Zoneminder
Konfiguration
Links
https://github.com/ZoneMinder/zoneminder
https://wiki.zoneminder.com/Hardware_Compatibility_List
Zurück zu Zoneminder