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

4 Responses

  1. HawkEYE says:

    The Loopback Adapter and Windows file share tunneling: XP and 2003

    The following instructions document how the Microsoft Loopback Adapter can be installed and configured for use with file share tunneling on Windows XP and 2003:

    1. Installing the Loopback Adapter:
    1. Open Start, Control Panel, Add Hardware.
    2. Click Next on the introduction dialog box.
    3. Select ‘Yes, I have already connected the hardware’ and click Next.
    4. Scroll to the bottom of the list of hardware, select ‘Add a new hardware device’, then click Next.
    5. Select ‘Install the hardware that I manually select from a list (Advanced)’, then click Next.
    6. Select ‘Network adapters’, then click Next.
    7. Select ‘Microsoft’ as the manufacturer, select ‘Microsoft Loopback Adapter’ as the adapter, then click Next.
    8. Click Next to confim the installation.
    9. Click Finish to complete the installation.
    2. Configure the newly created adapter:
    1. Open Start, Control Panel, Network Connections.
    2. Select the newly created connection (should be named ‘Local Area Connection N’, where N is its order number).
    3. Right click on the selected connection and choose Properties from the menu.
    4. Confirm that ‘Microsoft Loopback Adapter’ (or ‘Microsoft Loopback Adapter #N’) is displayed in the ‘Connect Using:’ field. If it isn’t, return to step 2 and retry properties for another adapter.
    5. Uncheck (disable) everything except ‘Internet Protocol (TCP/IP)’.
    6. Select ‘Internet Protocol (TCP/IP)’, then click Properties to open ‘Internet Protocol (TCP/IP) Properties’.
    7. Select ‘Use the following IP address:’ and fill in the ‘IP address:’ and ‘Subnet mask:’ fields (e.g. 10.10.10.10, 255.255.255.0).
    8. Click Advanced to open ‘Advanced TCP/IP Settings’.
    9. Switch to WINS and select ‘Disable NetBIOS over TCP/IP’.
    10. Click OK to close ‘Advanced TCP/IP Settings’.
    11. Click OK to close the ‘Internet Protocol (TCP/IP) Properties’.
    12. Optionally (on XP only) uncheck (disable) ‘Notify me when this connection has limited or no conectivity’ to remove the connection warning icon from the system notification area.
    13. Click OK to close the connection properties.

    If you later want to uninstall the Microsoft Loopback Adapter (once it is not needed any more for the forwarding of a Windows file share), you can uninstall it using Control Panel > System > Hardware > Device Manager.

    Tunnel Windows shares

    Main page

    MSLA on WinXP/2003

    MSLA on Windows 2000

    MSLA on Windows NT4

    Various tips
    How-Tos and Tutorials

    How the internet works

    Using WinSSHD for SFTP

    Port forwarding guide

    Tunnel Remote Desktop

    Tunnel Windows shares

    Tunnel WinVNC
    Try out WinSSHD!

    WinSSHD is an advanced SSH server for Windows with secure remote access, file transfer and tunneling features. Supports public key authentication, SCP, SFTP. Its advantages include speed, reliability, ease of use, configurability, and bvterm – the best remote console on the Windows platform. Try it free for up to 30 days!
    Try out Tunnelier!

    Tunnelier is a friendly and flexible SSH client for Windows which includes state of the art terminal emulation, graphical as well as command-line SFTP support, an FTP-to-SFTP bridge, powerful tunneling features, and also remote administration for WinSSHD. Free for individual use!

    Reply
  2. HawkEYE says:

    The Loopback Adapter and Windows file share tunneling: XP and 2003

    The following instructions document how the Microsoft Loopback Adapter can be installed and configured for use with file share tunneling on Windows XP and 2003:

    1. Installing the Loopback Adapter:
    1. Open Start, Control Panel, Add Hardware.
    2. Click Next on the introduction dialog box.
    3. Select ‘Yes, I have already connected the hardware’ and click Next.
    4. Scroll to the bottom of the list of hardware, select ‘Add a new hardware device’, then click Next.
    5. Select ‘Install the hardware that I manually select from a list (Advanced)’, then click Next.
    6. Select ‘Network adapters’, then click Next.
    7. Select ‘Microsoft’ as the manufacturer, select ‘Microsoft Loopback Adapter’ as the adapter, then click Next.
    8. Click Next to confim the installation.
    9. Click Finish to complete the installation.
    2. Configure the newly created adapter:
    1. Open Start, Control Panel, Network Connections.
    2. Select the newly created connection (should be named ‘Local Area Connection N’, where N is its order number).
    3. Right click on the selected connection and choose Properties from the menu.
    4. Confirm that ‘Microsoft Loopback Adapter’ (or ‘Microsoft Loopback Adapter #N’) is displayed in the ‘Connect Using:’ field. If it isn’t, return to step 2 and retry properties for another adapter.
    5. Uncheck (disable) everything except ‘Internet Protocol (TCP/IP)’.
    6. Select ‘Internet Protocol (TCP/IP)’, then click Properties to open ‘Internet Protocol (TCP/IP) Properties’.
    7. Select ‘Use the following IP address:’ and fill in the ‘IP address:’ and ‘Subnet mask:’ fields (e.g. 10.10.10.10, 255.255.255.0).
    8. Click Advanced to open ‘Advanced TCP/IP Settings’.
    9. Switch to WINS and select ‘Disable NetBIOS over TCP/IP’.
    10. Click OK to close ‘Advanced TCP/IP Settings’.
    11. Click OK to close the ‘Internet Protocol (TCP/IP) Properties’.
    12. Optionally (on XP only) uncheck (disable) ‘Notify me when this connection has limited or no conectivity’ to remove the connection warning icon from the system notification area.
    13. Click OK to close the connection properties.

    If you later want to uninstall the Microsoft Loopback Adapter (once it is not needed any more for the forwarding of a Windows file share), you can uninstall it using Control Panel > System > Hardware > Device Manager.

    Tunnel Windows shares

    Main page

    MSLA on WinXP/2003

    MSLA on Windows 2000

    MSLA on Windows NT4

    Various tips
    How-Tos and Tutorials

    How the internet works

    Using WinSSHD for SFTP

    Port forwarding guide

    Tunnel Remote Desktop

    Tunnel Windows shares

    Tunnel WinVNC
    Try out WinSSHD!

    WinSSHD is an advanced SSH server for Windows with secure remote access, file transfer and tunneling features. Supports public key authentication, SCP, SFTP. Its advantages include speed, reliability, ease of use, configurability, and bvterm – the best remote console on the Windows platform. Try it free for up to 30 days!
    Try out Tunnelier!

    Tunnelier is a friendly and flexible SSH client for Windows which includes state of the art terminal emulation, graphical as well as command-line SFTP support, an FTP-to-SFTP bridge, powerful tunneling features, and also remote administration for WinSSHD. Free for individual use!

    Reply
  3. web page says:

    Hence, it can be concluded that cranes are here to stay as they are indispensable in certain industries.
    He’s not the owner, but with perseverance, he did make it to the management level and is able to offer a lot to the company he works for and in return, he’s been noticed.

    Since there are several firms offering truck dismantling
    services, you would need to carry out some groundwork to choose the best firm.

    Reply
  4. web page says:

    Hence, it can be concluded that cranes are here to stay as they are indispensable in certain industries.
    He’s not the owner, but with perseverance, he did make it to the management level and is able to offer a lot to the company he works for and in return, he’s been noticed.

    Since there are several firms offering truck dismantling
    services, you would need to carry out some groundwork to choose the best firm.

    Reply

Anything to add?

X