ZoneMinder on Ubuntu 5.10-Breezy step2step

Support and queries relating to all previous versions of ZoneMinder
Locked
leprox
Posts: 13
Joined: Wed Jul 26, 2006 6:54 pm

ZoneMinder on Ubuntu 5.10-Breezy step2step

Post by leprox »

Step2Step Ubuntu5.10 guide

1- Add these lines in /etc/apt/source.list

## Uncomment the following two lines to fetch updated software from the network
deb http://ar.archive.ubuntu.com/ubuntu breezy main restricted
deb-src http://ar.archive.ubuntu.com/ubuntu breezy main restricted

## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://ar.archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://ar.archive.ubuntu.com/ubuntu breezy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://ar.archive.ubuntu.com/ubuntu breezy universe
deb-src http://ar.archive.ubuntu.com/ubuntu breezy universe

deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

deb http://security.ubuntu.com/ubuntu breezy-security universe
deb-src http://security.ubuntu.com/ubuntu breezy-security universe

deb http://archive.ubuntu.com/ubuntu breezy multiverse
deb-src http://archive.ubuntu.com/ubuntu breezy multiverse

## Extras
deb http://ubuntu-backports.mirrormax.net/ breezy-extras main restricted universe multiverse


## Backports
deb http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

2 -
$sudo apt-get install apache2

$sudo apt-get install php4

$sudo apt-get install mysql-server

3-

$sudo apt-get install libapache2-mod-auth-mysql
$sudo apt-get install php4-mysql

4-

$sudo /etc/init.d/apache2 restart

5-

sudo apt-get install libmysqlclient12-dev g++ make netpbm libssl-dev libjpeg62-dev libmime-perl libwww-perl libarchive-tar-perl libdate-manip-perl libarchive-zip-perl libmime-lite-perl libdbi-perl libdbd-mysql-perl libpcre3-dev

6 -

Donwload ZM
http://www2.zoneminder.com/downloads/Zo ... 2.2.tar.gz

7-

tar -xvzf ZoneMinder-1.22.1.tar.gz
cd ZoneMinder-1.22.2

8-

./configure --with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data

9-

mysql mysql < db/zm_create.sql

10-

mysql mysql

11-


mysql> grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';

13-

mysql> quit

14-

mysqladmin reload

15-
make install

and finally....

connect to http://debian/zm

Change this options
.

System/ZM_AUTH_RELAY - none

Paths/ZM_PATH_ZMS - /cgi-bin/zms


Bye...
Last edited by leprox on Wed Aug 02, 2006 11:19 pm, edited 2 times in total.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Great thanks for this perhaps youd like to add it to the wiki
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Locked