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]
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 installservice mysqld start
mysql
cd cctv/ZoneMinder-1.23.3mysql -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…






4 users commented in " Setting up personal CCTV with CentOS and webcam "
Follow-up comment rss or Leave a TrackbackI m using centos, i tried ur installation step and gone fine but finally when i ran the command ‘service zm start’ my terminal says ‘bash: service: command not found’ wat might be the error. I want my web cam from mron to work.
have you become root first before issue
with
“su – ”
“service zm start” ?
can be also as ..
“/sbin/service zm start”
or
“/etc/init.d/zm start”
[...] http://blog.namran.net/2009/02/11/setting-up-personal-cctv-with-centos-and-webcam/ [...]
hunfjcmph, ippbsesekz
Leave A Reply
Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">