ZoneMinder
Révision datée du 4 mai 2021 à 21:27 par Admin (discussion | contributions)
# apt update && apt upgrade
# apt install software-properties-common
# add-apt-repository ppa:iconnor/zoneminder-master
# apt install zoneminder
# adduser www-data video
# mysql_secure_installation
# vi /etc/zm/zm.conf
# ZoneMinder database password ZM_DB_PASS=zmpass
# mysql -U
mysql> ALTER USER 'zmuser'@'localhost' IDENTIFIED BY 'mdpnouveau'; mysql> FLUSH PRIVILEGES; mysql> exit
# a2enconf zoneminder # a2enmod rewrite # a2enmod headers # a2enmod expires # systemctl enable zoneminder # service zoneminder start # service apache2 reload
# timedatectl set-timezone Europe/Madrid
# vi /etc/php/7.4/apache2/php.ini
[Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = Europe/Madrid