I am performing a new install of zoneminder after my old 16.04LTS machine crashed. I am now trying to install under 20.04LTS and ran into a confusing passage in the installation guide.
Under the heading "easy-way-ubuntu-18-04-bionic", at step 3, the instructions state, "Please note that these changes are NOT required for ZoneMinder 1.32+ and some people have reported them causing problems in 1.32.0." yet, in the very next paragraph, the instructions go on to say "To better manage the MySQL server it is recommended to copy the sample config file and replace the default my.cnf symbolic link." and seems to describe the very changes that are not supposed to be required.
My linear, programmatic-thinking brain gets confused by instructions like this. Am I to ignore the second paragraph? Should I assume there is an "else" or "otherwise" before the words "To better manage..."?
Code: Select all
$ apt-cache policy zoneminder
zoneminder:
Installed: (none)
Candidate: 1.32.3-2ubuntu2
Version table:
1.32.3-2ubuntu2 500
500 http://ca.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
$
Thanks in advance.
Cheers,
Allan
Additional Info:
I tried running the "not required" stuff in Step 5 and mysql barfed on the second command with a syntax error. I think the correct second mysql command should be:
Code: Select all
mysql -u root -p -e "CREATE USER 'zmuser'@localhost identified by 'zmpass';grant lock tables,alter,drop,select,insert,update,delete,create,index,alter routine,create routine, trigger,execute,references on zm.* to 'zmuser'@localhost;"