Here’s a quick tutorial to get started with ZoneMinder on your Fedora PC/laptop. Let it be known that this may well apply to many other Linux distro’s, all I can say is that I have tested with my Fedora 11 PC. Let me also tell you that ZoneMinder is a serious example of open source software at its very best.
Step 1- Install ZoneMinder using Yum:
-># yum install zoneminder
Step 2 – Allow web access to ZoneMinder
A prerequisite is that you have Apache installed, and you have an Apache server running.
You now need to allow access via a web brower. By default, this is disabled, so you need to comment out the line: Deny from all # DELETE THIS LINE
From file: /etc/httpd/conf.d/zoneminder.conf
Step 3 – Setup the Database
A prerequisite is that you have mySql setup on your PC, and have the mySql server running.
You will need to import the zm_create.sql file, to create the database, and create the structure of the database for you. You will find this file here:
You could either do this within phpMyAdmin, if you have it installed, or just at the command line:
># mySql – [username] -p < /usr/share/zoneminder/db/zm_create.sql
Step 4 – Start ZoneMinder, and let’s setup a Webcam!
Start ZoneMinder: ># /etc/init.d/zoneminder start
Now log in: http://localhost/zm
It’s very intuitive..”Add New Monitor”. From now on, this very much depends on your webcam, the driver the webcam uses etc…
Step 5 – An Example Setup
Here’s my working example for webcam: Logitech, Inc. QuickCam Communicate STX USB info – 046d:08ad
source: local, function: MoDetect, Dev Path: /dev/video0, Capture Method: Video for Linux version 2, channel 0, Format: NTSC, palette RGB24, width 320, height 240.
Then.. in “Options”, under “Image” tab, I set “Stream Method” to “jpeg”.