Suse 11.1 and ZoneMinder
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: Some of these files are dependencies, and will be added automatically from other packages. There was no simple way to get the main files needed, so here is the list and the search term used for you to find them easily. You need to add the packman.unixheads.com repository for suse/11.1 to your yast2 repositories. You also need to install the build tools gcc and the libs for mpeg and jpeg from 10.1 wiki page.
Packages to Add from 10.1 - incomplete
apache2 apache2-worker apache2-mod_perl apache2-mod_php5 apache2-mod-apparmor php5 php5-mysql mysql libmysql-devel gcc gcc-c++ libmpeg2 libmpeg2-devel ffmpeg libffmpeg0 libffmpeg-devel libjpeg libjpeg-devel pcre-devel xawtv openssl openssl-devel
Pattersn filter
Add Base Development and C/C++ Development.
...to be done
Search in Name and Summary for "php"
apache2-mod_php5 perl-php-serialization php5 php5-bz2 php5-ctype php5-devel php5-dom php5-gd php5-hash php5-iconv php5-json php5-mcrypt php5-mysql php5-openssl php5-pdo php5-sockets php5-sqlite php5-tokenizer php5-xmlreader php5-xmlwriter php5-zlib php5-doc
Search in Name and Summary for "perl"
apache2-mod_perl apache2-mod_perl-devel exiftool limal-ca-mgm-perl limal-nfs-server-perl limal-perl pcre pcre-devel perl perl-Arvhive-Zip perl-base perl-Bootloader perl-Class-Singleton perl-Config-Crontab perl-Crypt-SmbHash perl-Crypt-SSLeay perl-Data-ShowTable perl-Data-Manip perl-DateTime perl-DateTime-Locale perl-DateTime-TimeZone perl-DBD-mysql perl-DBD-SQLite perl-DBI perl-Digest-HMAC perl-Digest-MD4 perl-Digest-SHA1 perl-doc perl-File-Tail perl-Finance-Quote perl-gettext perl-HTML-Parser perl-HTML-TableExtract perl-HTML-Tagset perl-IO-SocketSSL perl-IO-stringy perl-libapparmor perl-libwww-perl perl-list-MoreUtils perl-MailTools perl-MIME-Lite perl-MIME-tools perl-Net-Daemon perl-Net-DNS perl-Net-IP perl-Net-SSLeay perl-NetxAP perl-Params-Validate perl-Parse-RecDescent perl-php-serialization perl-PIRPC perl-RPC-XML perl-spamassassin perl-TermReadKey perl-TermReadLine-Gnu perl-Tie-IxHash perl-TimeDate perl-URI perl-X500-DN perl-XML-LibXML perl-XML-LibXMML-Common perl-XML-NamespaceSupport perl-XML-Parser perl-XML-SAX perl-XML-Simple perl-XML-Writer perl-XML-XPath perl-YAML sax2-libsax-perl yast2-perl-bindings
Search in Name and Summary for "apache"
apache2 apache2-devel apache2-doc apache2-example-pages apache2-mod_apparmor apache2-mod_perl apache2-mod_perl-devel apache2-mod_php5 apache2-prefork apache2-utils apache2-worker libapr1 libapr1-devel libapr-util1 libapr-util1-devel system-config-httpd
Search in Name and Summary for "mysql"
libmysqlclient15 libmysqlclient-devel libmysqlclient_r15 ligqt4-sql-mysql mysql mysql-adminstrator mysql-client mysql-gui-tools mysql-query-browser perl-DBD-mysql php5-mysql
Search in Name and Summary for "openssl"
libopenssl0_9_8 libopenssl-devel openssl openssl-certs php5-openssl
In the Suse 10.1 install, there is a step for updating the Perl programs. If you want to add that step, then go to the Suse 10.1 Wiki install page. See above for link.
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: http://www.zoneminder.com/wiki/index.php/SuSE_10.1_and_ZoneMinder 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: http://www.zoneminder.com/wiki/index.php/SuSE_10.1_and_ZoneMinder