Difference between revisions of "Suse 11.1 and ZoneMinder"

From ZoneMinder Wiki
Jump to navigationJump to search
 
Line 1: Line 1:
This is an update from the Suse 10.1 Install for ZoneMinder. Read that section first.
This is an update from the Suse 10.1 Install for ZoneMinder. Read that section first. You can find it here:
[http://www.zoneminder.com/wiki/index.php/SuSE_10.1_and_ZoneMinder]
This is a work in progress and is incomplete. Use at your own risk.
This is a work in progress and is incomplete. Use at your own risk.


Line 30: Line 31:
> make  
> make  
</pre>
</pre>
See Suse 10.1 for mysql configuration. When done with that, continue.
 
== Configure mysql ==
 
See Suse 10.1 for mysql configuration. You can find it here:
[http://www.zoneminder.com/wiki/index.php/SuSE_10.1_and_ZoneMinder]
When done with that, continue.





Revision as of 20:16, 16 January 2009

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.