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

Get Free Email Updates!

Signup now and receive an email once I publish new content.

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Like

Related Post

Anything to add?

X