
It is intended for a new install not an upgrade. While this script worked for me I can't be responsible if you loose data when you run this. The timezone will be detected from the OS and added to the php.ini. Paste the contents of the script into Nanoįollow the prompts. Read -p "Open Zoneminder in a web browser ( Click on Options - Paths and change PATH_ZMS to /zm/cgi-bin/nph-zmsĬopy the contents of the script, open a terminal and run: Wget -O /tmp/zoneminder-1.30.b -no-check-certificate " "Īwk '$0="date.timezone = "$0' /etc/timezone > /etc/php/7.2/apache2/php.iniĮcho "init_connect = 'SET = CASE CURRENT_USER() WHEN THEN \'NO_ENGINE_SUBSTITUTION\' ELSE END '" > /etc/mysql/my.cnfĪpt-get -y install /tmp/zoneminder-1.30.bĬhown -R www-data:www-data /usr/share/zoneminder/ Read -p "Next we will download the Zoneminder install package and install it. Read -p "Next secure MySQL server by entering requested information. Read -p "You must be logged in as root using sudo su. Press Enter to continue or Ctrl + c to quit" nothing Read -p "This script installs Zoneminder 1.30.4 on Ubuntu 18.04 AMD64 with LAMP (MySQL) installed. As an alternate you may use Mariadb in lieu of MySQL You will need a Ubuntu 18.04 install with LAMP (Apache, MySQL and PHP) installed desktop or server. This will install Zoneminder by using a shell script with one basic command (how easy is that!).

' Ubuntu 18.04 AMD64 with LAMP and Zoneminder 1.30.4 Shell Script Tested/verified as long as the download server stays online. 3 Ubuntu 18.04 LEMP (NGNIX, Mariadb, PHP)Ģ3JAN19 I have gone over these procedures and made corrections as needed.2 Ubuntu 18.04 AMD64 with LAMP and Zoneminder 1.30.4 Manual Install.

