Difference between revisions of "Zoneminder"
Jump to navigation
Jump to search
Michael.mast (talk | contribs) (Created page with "==CentOS7== It is recommended to install on a clean CentOS 7 installation<ref>https://zoneminder.readthedocs.io/en/stable/installationguide/redhat.html</ref>. In this case I a...") |
Michael.mast (talk | contribs) |
||
Line 8: | Line 8: | ||
systemctl start mariadb.service | systemctl start mariadb.service | ||
mysql_secure_installation | mysql_secure_installation | ||
+ | mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql | ||
+ | mysql -uroot -p -e "grant all on zm.* to 'zmuser'@localhost identified by 'zmpass';" | ||
+ | sed 's/\;date\.timezone\ \=/date\.timezone\ =\ America\/New_York/' /etc/php.ini | ||
</pre> | </pre> |
Revision as of 13:01, 22 September 2018
CentOS7
It is recommended to install on a clean CentOS 7 installation[1]. In this case I am using an LXC container. I am a little concerned that it uses rpmfusion[2] as I might get conflicting packages kernel packages during updates. Will need to be careful.
yum -y install epel-release yum -y localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm yum install mariadb-server systemctl enable mariadb systemctl start mariadb.service mysql_secure_installation mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql mysql -uroot -p -e "grant all on zm.* to 'zmuser'@localhost identified by 'zmpass';" sed 's/\;date\.timezone\ \=/date\.timezone\ =\ America\/New_York/' /etc/php.ini