Tuesday, November 20, 2007

Installing Motion

First installed Apache / MySQL / PHP 5 (see previous post).

Next do the preparation.

% sudo apt-get install libc6 libc6-dev libglib1.2 libjpeg62 libjpeg62-dev zlib1g zlib1g-dev

http://www.lavrsen.dk/twiki/bin/view/Motion/MotionGuideInstallation#Preparation_For_Install

Note that Ubuntu packages will be the same as the Debian ones. So make sure they're all installed. Note that a bunch (especially the non dev packages) will already be installed.

Next follow the installation instructions here:

http://www.lavrsen.dk/twiki/bin/view/Motion/MotionGuideInstallation#How_do_I_install_Motion

Everything worked for me except the instructions lie about the placement of the default configuration file. The installation script doesn't lie, however, so use that location. The one I'm using ended up here:

/usr/local/etc/motion.conf

I made the modifications they suggested hooking it up to /dev/video1. And it worked like a charm. Plopped data down into /var/www/camera/ like I configured it to.

No comments: