Installed Centos7.
Installing ZM per zmrepo
At bolded step below in README.Centos, after entering password tells me ERROR at line 1: Unknown command '\'.
The text renders as shown using less, or copying file to windows and using wordpad.
2. Using the password for the root account set during the previous step, you
will need to create the ZoneMinder database and configure a database
account for ZoneMinder to use:
mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
mysql -uroot -p -e "grant all on zm.* to \
'zmuser'@localhost identified by 'zmpass';"
mysqladmin -uroot -p reload
new install, mysql setup
Re: new install, mysql setup
Preliminary steps:
wget http://zmrepo.zoneminder.com/el/7/x86_6 ... noarch.rpm
sudo yum install --nogpgcheck zmrepo-7-8.el7.centos.noarch.rpm
sudo yum install zoneminder
less /usr/share/doc/zoneminder-*/README.Centos7
wget http://zmrepo.zoneminder.com/el/7/x86_6 ... noarch.rpm
sudo yum install --nogpgcheck zmrepo-7-8.el7.centos.noarch.rpm
sudo yum install zoneminder
less /usr/share/doc/zoneminder-*/README.Centos7
Re: new install, mysql setup
oh, please do(n't) tell me the ' ' means my defined user/pw.
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: new install, mysql setup
Works fine here.
Watch how I do it:
https://www.youtube.com/watch?v=l2lLvl8WxfU
Windows + Wordpad is likely your problem. End-of-line is defined differently in Windows than in Linux.
Copy and paste the commands from a Linux machine.
Watch how I do it:
https://www.youtube.com/watch?v=l2lLvl8WxfU
Windows + Wordpad is likely your problem. End-of-line is defined differently in Windows than in Linux.
Copy and paste the commands from a Linux machine.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: new install, mysql setup
Thanks. Mainly sorted now. Most of the problem was attempting to install a still unfamiliar distro while still attempting to do other "work", leading to frustration and errors. Sigh. Mulitasking no longer becomes me. So to speak.
Sorted enough so that the camera is back on line. I'm hoping things are more stable on dedicated hardware. Umm, ZM, that is . . .
Sorted enough so that the camera is back on line. I'm hoping things are more stable on dedicated hardware. Umm, ZM, that is . . .
Re: new install, mysql setup
Working with Zoneminder (and computers in general) helps keep my three score and ten brain functioning! Can still knock off 25 miles on the bicycle while 50 is a bit more tiring with age.joea wrote:Thanks. Mainly sorted now. Most of the problem was attempting to install a still unfamiliar distro while still attempting to do other "work", leading to frustration and errors. Sigh. Mulitasking no longer becomes me. So to speak.
Sorted enough so that the camera is back on line. I'm hoping things are more stable on dedicated hardware. Umm, ZM, that is . . .
Just keep moving... brain engaging and physically!