Suse 11.1 and ZoneMinder

From ZoneMinder Wiki
Revision as of 21:22, 16 January 2009 by We4zonM (talk | contribs)
Jump to navigationJump to search

This is an update from the Suse 10.1 Install for ZoneMinder. Read that section first. You can find it here: [1] This is a work in progress and is incomplete. Use at your own risk.


Install Packages

Install these packages from either Yast2 Software Management or from the Suse online software search at http://software.opensuse.org/search:

...to be done


Dowload Zoneminder

Download the Zoneminder 1.23.3 sources from www.zoneminder.com/downloads.html to your build directory. Untar the archive.

> tar -xvzrf Zoneminder-1.23.3.tar.gz
> cd Zoneminder-1.23.3

Configure the build for Suse 11.1

> ./configure --with-webdir=/var/www/html --with-cgidir=/var/www/cgi-bin ZM_SSL_LIB=openssl --with-webuser=wwwrun --with-webgroup=www ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass 

Build Zoneminder

> make 

Configure mysql

See Suse 10.1 for mysql configuration. You can find it here: [2] When done with that, continue.


Install Zoneminder

Enter root password and install.

> su
# make install

Edit zm.conf file to be sure that it has zmuser and zmpass (it should).

Configure apache2 web server

...to be done

Start servers

/etc/init.d/mysql start
rcapache2 start
zmpkg.pl start

Test PHP on the browser interface

Create this file in your /var/www/html directory and call it test.php

<?php print "It works!"; ?>

Point your browser to: localhost

You should see the html version of It Works!

Point your browser to: localhost/test.php

You should see the php version of It Works!


Start Zoneminder

Point your browser to: localhost/zm.php

You should see the Zoneminder web interface.

Configure Startup of Servers

Go to the Suse 10.1 install and use that. You can find it here: [3]