Now that I’ve done the upgrade to UbuntuServer 16.04, I can start the installation of ZoneMinder.
Summary: Got Apache, MySQL and PHP installed and verified versions. See below.
First thing is installing LAMP (Apache, MySQL, PHP).
I’m not sure if this is already running, though. I checked with these statements:
dpkg -s apache2 | grep Status
Not installed
dpkg -s php5 | grep Status
Not installed
Installing LAMP, because I must not have done this during initial server install:
sudo tasksel install lamp-server
Note: Entered a password for MySQL Administrative “Root” user and filed
Tested to see if LAMP now installed/running:
dpkg -s apache2 | grep Status
Came back with files and directory
dpkg -s php5 | grep Status
Note: didn’t come back installed, but maybe LAMP is a different version of PHP
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
Note: This confirms I did the server upgrade correctly to 16.04
/usr/sbin/apache2 -V
Server version: Apache/2.4.18 (Ubuntu)
Server built: 2017-09-18T15:09:02
Note: Looks like it installed version 2.4.18 of Apache
dpkg -s apache2 | grep Status
Status: install ok installed
Note: Really confirming that Apache is installed
mysql -u root -p
Note: I forgot that I had created a password for root.
mysql> select version();
+————————-+
| version() |
+————————-+
| 5.7.20-0ubuntu0.16.04.1 |
+————————-+
1 row in set (0.00 sec)
Note: Looks like I have version 5.7.29 of MySQL installed
Note: “quit” to quit out of MySQL prompt
php5 -v
No command ‘php5’ found, did you mean:
Command ‘php’ from package ‘php7.0-cli’ (main)
Note: Guess I don’t have version 5 of PHP
php -v
PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.22-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies
Note: Confirmed I have version 7.0.22 installed
Nearly forgot to test to see if my webserver is up and running:
http://192.168.1.15/
This is the default welcome page used to test the correct operation of the Apache2 server after installation on Ubuntu systems. It Works!
Looks like LAMP is installed, webserver is running, and now on to the next step…