Ubuntu 18.10 Zoneminder 1.30.4

Forum for questions and support relating to the 1.30.x releases only.
Locked
bbunge
Posts: 2930
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Ubuntu 18.10 Zoneminder 1.30.4

Post by bbunge »

Zoneminder 1.30.4 made it into the "official" Ubuntu 18.10 repositories. You will need to install LAMP then secure MySQL before installing Zoneminder. I use a very minimum install from the 18.10 mini.iso.

Here are the basic commands you will need. As always start from a root (sudo su) prompt.

mysql_secure_installation

nano /etc/mysql/my.cnf

[mysqld]
sql_mode = NO_ENGINE_SUBSTITUTION

apt install zoneminder

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

chmod 740 /etc/zm/zm.conf

chown root:www-data /etc/zm/zm.conf

systemctl enable zoneminder.service

adduser www-data video

a2enmod cgi

a2enmod rewrite

a2enconf zoneminder

nano /etc/php/7.2/apache2/php.ini

chown -R www-data:www-data /usr/share/zoneminder/

service apache2 restart
Locked