Difference between revisions of "Helpful user contributed resources"

From ZoneMinder Wiki
Jump to navigationJump to search
Line 21: Line 21:
==Third party==
==Third party==
[[Third Party Utils]]
[[Third Party Utils]]
Ubuntu 5.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/ZoneMinder-1.22.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
12-
'zmuser'@localhost identified by 'zmpass';
13-
mysql> quit
14-
mysqladmin reload
15-
make install
and finally....
connect to http://debian/zm
Change this options
and change these options...
System/ZM_AUTH_RELAY - none
Paths/ZM_PATH_ZMS - /cgi-bin/zms
Bye...

Revision as of 19:09, 2 August 2006