CCTV server with Ubuntu and Zoneminder
Here are the results of copy paste from linuxpasuruan.wordpress about how to install CCTV Server using Ubuntu and Zoneminder. Where to use Distro Ubuntu Dapper Drake 6.06.1 LTS server because the installation process very easy and the support from Canonical old.
The first step after installing the Base System without X-Window is to provide a static IP and setting host.conf
wisu@cctv:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.202
netmask 255.255.255.0
gateway 192.168.1.1
wisu@cctv:~$ cat /etc/hosts | grep cctv
192.168.1.202 cctv.bigwisu.com cctv
after that we need the following additional module2, before I enable repository mulitverse, universe and backports
wisu@cctv:~$ sudo apt-get install ffmpeg libarchive-tar-perl libarchive-zip-perl libdate-manip-perl libdevice-serialport-perl
wisu@cctv:~$ sudo apt-get install libjpeg62 libmime-perl libstdc++6 libunwind7 libwww-perl zlib1g
Next we download *.deb zoneminder from the following website northern-ridge.com.au
wisu@cctv:~$ wget ftp://www.northern-ridge.com.au/zoneminder/ubuntu/dapper/zoneminder_1.22.3-8_i386.deb
When finished downloading, I install with the command
wisu@cctv:~$ sudo dpkg -i zoneminder_1.22.3-8_i386.deb
In the installation process there is some module that needs to be added, for that I do command
wisu@cctv:~$ sudo apt-get -f install
Automatically all the dependencies installed by itself.
After all the packages I installed do the setup for apache configuration
wisu@cctv:~$ sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf
wisu@cctv:~$ sudo /etc/init.d/apache2 force-reload
Users running Ubuntu Zoneminder is www-data, so that an application can access the device Capture Card. And the cameras we also need to add the user www-data to the video group.
wisu@cctv:~$ sudo adduser www-data video
Furthermore zoneminder interface can be accessed through
http://IP_ADDRESS_CCTV_SYSTEM/zm
From this interface the first step we do is add the Camera
NewVideo01
NewVideo02
NewVideo03
Next choose how Zoneminder record video from camera
Options
In this case we can choose Motion Detect, which will Zoneminder only record video when there is movement.
Motion Detect feature can be configured Zoneminder to select a specific area of the image that will trigger recording.
Popular Tags for the article:
??? CCTVRelated posts:



