DNS Configuration

This document describes the procedure on how to install and configure a domain name server./ OS used: Linux (Fedora 9); tools used: bind and iptables. by: Mr. Howard Bagcat

  • Get and install libjpeg-devel:
    [1] Download the package at http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Fedora/x86_64/os/Packages, and install it by executing:
    # rpm -ivh libjpeg-devel; or

    [2] If Fedora 9 DVD is present, install the package by executing these:
    # mount /dev/cdrom /mnt
    # rpm -ivh /mnt/Packages/libjpeg-devel-x.x.x.rpm; or

    [3] If internet is availble, do the easy way by executing this:
    # yum install libjpeg-devel.
  • Download motion at http://www.lavrsen.dk/twiki/bin/view/Motion/DownloadFiles, and install it by executing:
    $ ./configure --prefix \
            --exec-prefix=/usr \
    $ make
    # make install

Configure Motion

  • Open and modify /etc/motion.conf with these values:
    daemon on
    videodevice /dev/video0
    target_dir /var/www/html/motion
    jpeg_filename %t-cns
  • Copy motion.init-RH.in to /etc/rc.d/init.d/motion, and execute these:
    # /sbin/chkconfig --level 2345 motion off
    # /sbin/chkconfig --level 3 motion on
  • Plug-in the USB-based web camera to any available USB port, and restart the server.
  • Enjoy.