Zoneminder

From ITCwiki
Jump to navigation Jump to search

ZoneMinder is a security camera program for Ubuntu. With it you can use your server as a security camera DVR that you can view online and record to the hard disk of the server. Make sure to plug in a USB webcam or similar device before you continue.

Install Zoneminder

  • Use Aptitude to install ZoneMinder
  • sudo aptitude install zoneminder
  • Aptitude will ask you if you want to install a bunch of extra packages. Make sure to say yes to that.

Configure ZoneMinder from the web interface

  1. Find your IP address using the ifconfig command
  2. Go to a web browser and type ip-address/zm in the URL bar
    • You will then see the zoneminder console.
  3. Click on "Add New Monitor"
    This is what the ZoneMinder console looks like after it has been configured. Here, the camera name is "Downstairs"
  4. Fill in the Name, Source Type, and Function. For now, just set the function to Monitor.
  5. Put in a Maximum FPS (frames per second). If you don't know what to put just type 15
  6. Put the same value as Max FPS into the Alarm Max FPS field.
  7. Click on the source tab on the top of the window.
  8. You will have to find the Device Path of your specific camera. Mine was /dev/video0. You could look in your syslog to find this.
  9. You will also need to find the Device Format, Capture Palette, Capture Width, and Capture Hight from the cameras manufacturer.
  10. Click "Save"
    • If everything is working you should see the camera monitor you just made in the list. If you click on it you can view the camera as jpegs.

Hardware

You can use almost any USB webcam or if you want a real security camera please use this list to find compatible cameras and capture cards.