Start with a fresh Bionic install. I use the minimal install image also known as the Network Installer:
https://ubuntu.com/download/alternative-downloads
I use a very minimal install. When tasksel comes up choose only the OpenSSH server.
When you restart the system adding net-tools may be a good idea. From there I use putty in a WIndows PC or the terminal in Mac or Linux to finish installing Zoneminder.
First install LAMP:
sudo apt install apache2 mariadb-server php libapache2-mod-php php-mysql
When that completes secure Mariadb:
sudo mysql_secure_installation
I use the same password that I used installing Ubuntu. Easier to remember...
Use the shell script from the WIKI to install Zoneminder:
https://wiki.zoneminder.com/Ubuntu_Serv ... ell_script
Or you can run the commands from the script one line at a time.
Avoid making any other changes before you get Zoneminder working!
Ubuntu Install for 1.34.x
Re: Ubuntu Install for 1.34.x
That worked perfectly! Thanks for the replies and help. I'll be back as soon as I hit the next mistake I make!
MRD
Re: Ubuntu Install for 1.34.x
I ran into a problem upgrading from 1.32.3 to 1.34.16:
Versions:
Ubuntu:
Ubuntu 18.04.4 LTS
mysql:
mysql Ver 14.14 Distrib 5.7.30, for Linux (x86_64) using EditLine wrapper
Apache:
Server version: Apache/2.4.29 (Ubuntu)
Server built: 2020-03-13T12:26:16
php:
PHP 7.2.24-0ubuntu0.18.04.6 (cli) (built: May 26 2020 13:09:11) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.24-0ubuntu0.18.04.6, Copyright (c) 1999-2018, by Zend Technologies
apt upgrade console output snippet for ZM:
Code: Select all
Setting up zoneminder (1.34.16-bionic1) ...
Installing new version of config file /etc/apache2/conf-available/zoneminder.conf ...
Installing new version of config file /etc/logrotate.d/zoneminder ...
Installing new version of config file /etc/zm/conf.d/01-system-paths.conf ...
Detected db service is mysql.service
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'
Creating zm db
ERROR 1045 (28000): Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)
Error creating db.
dpkg: error processing package zoneminder (--configure):
installed zoneminder package post-installation script subprocess returned error exit status 1
Solution was obvious when looking at the log, it said the database was still at 1.32.3 and gave the command to upgrade it:
Code: Select all
sudo zmupdate.pl
Code: Select all
Database upgrade to version 1.34.16 successful.
Thanks, developers, for providing the hint in the log!
Re: Ubuntu Install for 1.34.x
Any issues with install of iconnor ppa on 20.04?