Difference between revisions of "Ubuntu Server 14.04 64-bit with Zoneminder 1.32.x the easy way"

From ZoneMinder Wiki
Jump to navigationJump to search
Line 1: Line 1:
10SEP18 - ZM 1.32.0 coming soon
'''Zoneminder 1.32.0 on Ubuntu Server 14.04'''
 
'''Zoneminder 1.32.0 is expected to be released on 12SEP18. Please check the Zoneminder PPA before running this install to insure the file 1.32.0-trusty is listed: https://launchpad.net/~iconnor/+archive/ubuntu/zoneminder'''
 
Install Basic Server (if you used the mini.iso), OpenSSH Server, and LAMP Server
 
Log in then become root:
 
sudo su
 
Make sure you are up to date
 
apt-get update
apt-get upgrade
apt-get dist-upgrade
 
 
Add Repository (if you get an error run: apt-get install software-properties-common)
 
add-apt-repository ppa:iconnor/zoneminder
 
Update Sources
 
apt-get update
 
Install Zoneminder
 
apt-get install zoneminder
 
You may be prompted to set up Nulmailer. You may accept the defaults and set this up later if you want to use it.
 
Add delay to allow MySQL to start before Zoneminder
 
nano /etc/init.d/zoneminder
 
Add sleep 15 after the existing "start() {" as shown:
 
start() {
      sleep 15
      echo -n "Starting $prog: "
 
Ctrl+o Enter to save
 
CTRL+x to exit
 
 
Create a new user
 
adduser www-data video
 
Enable CGI, Zoneminder and rewrite configuration in Apache.
 
a2enmod cgi
 
a2enconf zoneminder
 
a2enmod rewrite
 
Start Zoneminder if needed (If you get an error Zoneminder is likely running already)
 
service zoneminder start
 
Add timezone to PHP
 
nano /etc/php5/apache2/php.ini
 
Search for [Date] (Ctrl + w then type Date and press Enter) and make changes as follows for your time zone
 
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/New_York
 
Ctrl+o Enter to save
 
CTRL+x to exit 
 
Restart Apache
 
service apache2 reload
 
Open Zoneminder in a web browser (http://server-ip/zm).

Revision as of 19:07, 11 September 2018

Zoneminder 1.32.0 on Ubuntu Server 14.04

Zoneminder 1.32.0 is expected to be released on 12SEP18. Please check the Zoneminder PPA before running this install to insure the file 1.32.0-trusty is listed: https://launchpad.net/~iconnor/+archive/ubuntu/zoneminder

Install Basic Server (if you used the mini.iso), OpenSSH Server, and LAMP Server

Log in then become root:

sudo su

Make sure you are up to date

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


Add Repository (if you get an error run: apt-get install software-properties-common)

add-apt-repository ppa:iconnor/zoneminder

Update Sources

apt-get update

Install Zoneminder

apt-get install zoneminder

You may be prompted to set up Nulmailer. You may accept the defaults and set this up later if you want to use it.

Add delay to allow MySQL to start before Zoneminder

nano /etc/init.d/zoneminder

Add sleep 15 after the existing "start() {" as shown:

start() {
     sleep 15
     echo -n "Starting $prog: "

Ctrl+o Enter to save

CTRL+x to exit


Create a new user

adduser www-data video

Enable CGI, Zoneminder and rewrite configuration in Apache.

a2enmod cgi
a2enconf zoneminder
a2enmod rewrite

Start Zoneminder if needed (If you get an error Zoneminder is likely running already)

service zoneminder start

Add timezone to PHP

nano /etc/php5/apache2/php.ini

Search for [Date] (Ctrl + w then type Date and press Enter) and make changes as follows for your time zone

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/New_York

Ctrl+o Enter to save

CTRL+x to exit

Restart Apache

service apache2 reload

Open Zoneminder in a web browser (http://server-ip/zm).