From 3236a50d9fa34acb98809a4e8bb345bf7efbb81b Mon Sep 17 00:00:00 2001 From: anon8675309 Date: Sun, 24 Apr 2022 21:16:41 -0500 Subject: [PATCH] Improve installation instructions for Debian 11 (bullseye) #3467 --- docs/installationguide/debian.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/installationguide/debian.rst b/docs/installationguide/debian.rst index 8f11086b7..eabdfe595 100644 --- a/docs/installationguide/debian.rst +++ b/docs/installationguide/debian.rst @@ -48,9 +48,9 @@ Switch into root user and create database and database user sudo su mariadb CREATE DATABASE zm; - CREATE user - grant permission - flush privilege + CREATE USER zmuser@localhost IDENTIFIED BY 'zmpass'; + GRANT ALL ON zm.* TO zmuser@localhost; + FLUSH PRIVILEGES; exit; exit @@ -83,6 +83,7 @@ To make sure zoneminder can read the configuration file, run the following comma :: sudo a2enconf zoneminder + sudo systemctl reload apache2.service sudo systemctl reload zoneminder.service sudo systemctl restart zoneminder.service sudo systemctl status zoneminder.service