Lubuntu 16.04 with Zoneminder 1.29.0 pre-configured CD or USB

From ZoneMinder Wiki
Jump to navigationJump to search

This is obsolete. Please use: https://wiki.zoneminder.com/Lubuntu_16.04-2_with_Zoneminder_1.30.0_pre-configured_CD_or_USB





This readme file is for the Zoneminder 1.29.0/Lubuntu 16.04 Live CD/USB system. It has been modified to cover some install issues.

There is a 32 BIT and a 64 BIT version of the system. File names:

live-cd-16.04-32.iso (Torrent Live-XX-32)

live-cd-16.04-64.iso (Torrent Live-XX-64)

Torrents and iso's can be downloaded from here: https://drive.google.com/folderview?id=0BwH00-h4hi0LRVlObzctSzdyY1k&usp=sharing&tid=0BwH00-h4hi0LNEpfdnBRcnc3a3M#list

You can burn the files to DVD, start a PC from the DVD and run/install the system.

You can also make a bootable USB. I recommend using Unetbootin (http://unetbootin.github.io/). This is what I used to make a bootable USB. Other programs may work but have not been tested.

When you boot the system Lubuntu will open to a log in page. For the user enter "ubuntu" and leave the password blank. You must log into Lubuntu to run the installer!

Apache, Mariadb Server and Zoneminder will run on startup.

To access Zoneminder open Firefox and enter http://localhost/zm You can also access Zoneminder from another PC using the IP-Address of the system: http://IP-Address/zm

Zoneminder is configured with one monitor set to a public camera and, if the system has internet access, should be viewable. You may reconfigure this camera to one of your own.

Installer

This system contains an installer which you can use to install this fully functioning Lubuntu/Zoneminder system to your hard drive. I've had an issue where the installer will crash and not finish the install. A work around is to run the installer with root privileges from a terminal.

Open a terminal - System Tools - LXTerminal and enter

sudo sh -c 'ubiquity gtk_ui'

and press Enter. Do not check any options when the 'Preparing to install Ubuntu' screen appears.

Time Zone: you may have to edit the php.ini to correct the time zone entry. See the WIKI for instructions on editing this file. nano /etc/php/7.0/apache2/php.ini

Network: I have discovered that this version may not successfully detect the network card on startup from a live DVD or USB drive. The desktop will start, in time, and you can configure the network manually. Open a terminal - System Tools - XTerm and enter:

ifconfig -s -a

and you will see something like: enpos25

Open the interfaces file and change the enpxxx entries to match your setup

sudo nano /etc/network/interfaces

Ctrl + o to save Ctrl + x to exit

Start the network

sudo ifup enpxxx?   (enter your eth number)

If your install does not get the DNS servers via DHCP it is likely that a symbolic link is missing. You can set a static IP address with nameservers or create the symbolic link with this entry:

sudo ln -s /run/resolvconf/resolv.conf /etc/resolv.conf

You can also run the above command on the live installer DVD/USB to get DNS working.

Here is a link to info on Ubuntu Network settings: https://help.ubuntu.com/lts/serverguide/network-configuration.html

Updates: As this is a minimal Lubuntu install the software updater is not provided. To update the installation open a terminal and run:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade


About the system:

Install was from Ubuntu 16.04 Minimal CD with Lubuntu Minimal, LAMP and OpenSSL. MySQL 5.7 was replaced with Mariadb Server.

The root password for MySQL is "Passwordzm" Recommend you change the password after you install to hard drive: (http://www.liquidweb.com/kb/change-a-password-for-mysql-on-linux-via-command-line/)

Zoneminder was installed using: https://wiki.zoneminder.com/Ubuntu_Server_16.04_64-bit_with_Zoneminder_1.29.0_the_easy_way

Lubuntu Minimal Desktop was installed with Forefox added afterwards.