Setting up personal CCTV with CentOS and webcam

After tried few times and failed to get the webcam to work in my Fedora 9 box..
I decided to re-formatted the whole box and install CentOS 5..

and guess what?.. after installed dkms-gpsca and all the dependencies..
the webcam just work out-of-the-box..
.. by using ekiga.. can see the video stream captured from the

/dev/video

hahaha..

then come the interesting part..
after playing a bit with skype and ekiga to get the video stream..
why not putting a webcam software showing something like world view.. or something..

did bump into a software.. Zone Minder[zoneminder.com]
[ad#postad]
run into sort of script sequence as below..

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

mkdir cctv
cd cctv/
wget wget http://www.zoneminder.com/fileadmin/downloads/cambozola.jar
wget http://www2.zoneminder.com/downloads/ZoneMinder-1.23.3.tar.gz
yum install mysql mysql-server mysql-devel php php-gd php-mysql httpd gcc pcre-devel gd mod_ssl glib2-devel gcc-c++ ntp gnutls-devel
yum install libjpeg-devel perl-Archive-Tar perl-MIME-Lite perl-MIME-tools perl-Date-Manip perl-Time-HiRes
yum install perl-LWP-UserAgent-Determined perl-PHP-Serialization perl-Device-SerialPort perl-Archive-Zip perl-Module-Load
tar -zxvf ZoneMinder-1.23.3.tar.gz
cd ZoneMinder-1.23.3
./configure –with-webdir=/var/www/html/zm –with-cgidir=/var/www/cgi-bin
make
make install

service mysqld start

mysql
cd cctv/ZoneMinder-1.23.3

mysql -u root -p < db/zm_create.sql zm cp scripts/zm /etc/init.d/ chmod a+x /etc/init.d/zm chkconfig zm on cp ../cambozola.jar /var/www/html/zm/ service zm start chkconfig httpd on chkconfig mysqld on chkconfig ntpd on

~~.. done..

and the result is…

CCTV Console
CCTV Console
Front of the aparment
Front of the aparment

Related Post

2 Responses

  1. desa ku pilar says:

    Hello there, I believe your web site may be having browser compatibility issues.
    When I take a look at your blog in Safari, it looks
    fine but when opening in Internet Explorer, it has some overlapping issues.
    I merely wanted to provide you with a quick heads up! Aside from that,
    great blog!

    Reply
  2. pub quiz austin texas says:

    DJ spins out on Saturday nights. At the end of each round
    read out the cumulative scores. Theme Format: It is almost like standard format of the pub quiz.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *