Suse 11.1 and ZoneMinder

From ZoneMinder Wiki
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

You can configure with either /var/www/html and /var/www/cgi-bin or with /srv/www/htdocs and /srv/www/cgi-bin. Just be sure that when you configure the Apache Web Server that you use the same directories.

> ./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: http://localhost

You should see the html version of It Works!

Point your browser to localhost/test.php: http://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]