This will install Zoneminder by using a shell script with one basic command (how easy is that!).
read -p "Next we will download the Zoneminder install package and install it.
Follow the prompts. Things are pretty simple. The timezone will be detected from the OS and added to the php.ini.
While this script worked for me I can't be responsible if you loose data when you run this. It is intended for a new install not an upgrade.
Ubuntu 18.04 Bionic installed with LAMP and OpenSSH Server 64 BIT Ubuntu only!
To better manage the MySQL server I recommend you copy the sample config file and replace the default my.cnf symbolic link.
Secure MySQL and set root password. Do not install the password validation plugin as the default Zoneminder password is not strong.
Start with a basic Ubuntu 18.04 install. You can use a server or desktop install. Do not install LAMP!
Edit the Ngnix default configuration.
Note: 29JUL18 Thanks to Tiver for this suggestion that seems to work with the fcgiwrap issue.
then restart the fcgiwrap service.