[vc_row][vc_column][vc_tta_tour][vc_tta_section title=”ZoneMinder User Manual” tab_id=”1464761285365-a570aa0c-4866″][vc_column_text]
- Install zoneminder
- Initial setting
- Subject switch
- Set verifying
- Add camera
- Set motion detection
- Set mail alert
- Definefilter
[/vc_column_text][/vc_tta_section][vc_tta_section title=”1. Install zoneminder” tab_id=”1464763348340-1f7eac4e-117f”][vc_column_text]
- Install zoneminder
server version: Ubuntu 14.04 64bit
Zoneminder version: 1.29.0
Minimize installation server, and install OpenSSH server and LAMP server.
After installation, switch to root user.
sudo su
Update software
apt-get update apt-get upgrade apt-get dist-upgrade
Add warehouse
add-apt-repository ppa:iconnor/zoneminder
Update source
apt-get update
Install zoneminder and php
apt-get install zoneminder php5-gd
Install necessary tool
pt-get install libvlc-dev libvlccore-dev vlc
Create zoneminder database
mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql mysql -uroot -p -e "grant all on zm.* to 'zmuser'@localhost identified by 'zmpass';" mysqladmin -uroot -p reload
Set zm configuration file possessor and authority limit
chown root:www-data /etc/zm/zm.conf chmod 740 /etc/zm/zm.conf
Add 15s delay in in zoneminder activate script
vi /etc/init.d/zoneminder start() { sleep 15 echo -n "Starting $prog: "
add user
adduser www-data video
Start apache module
a2enmod cgi a2enconf zoneminder a2enmod rewrite
Start zoneminder
service zoneminder start
Add time zone in php
vi /etc/php5/apache2/php.ini [Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = Asia/Shanghai
restart apache2http://server-ip/zm
service apache2 reload
After the restart, could visit http://server-ip/zm in web.
After log in, need to click Options, set PATH_ZMS route as /zm/cgi-bin/nph-zms.
If there is no setting, the video could not be played normally.
<a href="http://learn.linksprite.com/wp-content/uploads/2016/06/QQ截图20160601143710.png"><img class="alignnone" src="http://learn.linksprite.com/wp-content/uploads/2016/06/QQ截图20160601143710-300x205.png" alt="QQ截图20160601143710" /></a>
Please view below website for details of other server version.
https://wiki.zoneminder.com/Contents#Installation_Procedure[/vc_column_text][/vc_tta_section][vc_tta_section title=”2. Initial setting” tab_id=”1464761285511-9a5b2d24-072a”][vc_column_text]
- Switch subjec
Click options, choose display, set zm_css as flat.
It will be as below after been saved.
2. Set verifying
Click system, start verifying.
After confirm, bounce to the Login interface.
Default login user name and code is admin/admin.[/vc_column_text][/vc_tta_section][vc_tta_section title=”3. Add camera” tab_id=”1464765178217-48b131ce-0bab”][vc_column_text]Click add new monitor
Below interface bounce out
Name define camera monitor name
Server means server, no need to choose without definition
Source type could provide various way to check the video. If use USB camera, local type is available, and could choose File, and the video could be played by assigning the file name. We need to use rtsp to take the video, so choose Ffmpeg type.
Set camera function by Function, both checking video only function or motion capture function could be set here. We choose most simple monitor mode.
Tick Enable means start camera project. If no need camera project, just remove the tick.
Below are basic parameter setting:
click source
Set video acquire route by Source path , this is Openhapp H210 camera acquire method.The rtsp route of other camera may be different, could be self definition.
Remote method assign agreement to be used, uni cast, Multi-cast, RTSP or HTTP, and we use RTSP.
Options also provide extra operations, such as permit the required date type or set date level.
Target colorspace color has 8 bit, 24 bit,32 bit,up to your choice.
Capture width and capture height could set video picture width and length.
The time stamp on the right side and the buffers could be set on user’s demand.
Once set up, click the definition name, the video could be viewed.
If the video playing picture is not smooth, please click LOW to set bandwidth the on front page.
[/vc_column_text][/vc_tta_section][vc_tta_section title=”4. Set motion detection.” tab_id=”1464767638709-83737319-0b33″][vc_column_text]For the added camera, please click FUNCTION for the related category.
The option window will bounce out.
Set as Modect (motion detect) and save.
If the object moves in front of the camera, it will record the event automatically, and cut off the record when the motion stop.
For the event generated, it’s fine to click it directly, and the video recorded could be played.
On the front page, for different camera project, different event will be recorded.
The EVENTS means the recorded event value in total. HOUR means the events value in one hour. DAY means the events value in one day. Month means the events value in one month. It’s OK to click and check the video when event happened.[/vc_column_text][/vc_tta_section][vc_tta_section title=”5. Set mail alert” tab_id=”1464768398248-ae62f779-32e4″][vc_column_text]In options, one option is email, to define the email information.
Start email, and tick OPT_EMAIL
Define email address, define the sent subject and the detailed content of the message.
When define information, it’s OK to quote the variable quantity built in the program, below are the details.
Then define the host computer of email, and define the address to send this email.
Certainly, except define email, zoneminder could define short message too, as the method is similar to email. If no need to use the short message function, then unnecessarily to tick OPT_MESSAGE.[/vc_column_text][/vc_tta_section][vc_tta_section title=”6. Define filter” tab_id=”1464768870610-1fab871f-5a4e”][vc_column_text]Filter could define some rules, do related operations on the matched rules.Such as match the events 7 days ago and delete, and operate on the backstage, then it could automatically clear the events one week ago.
Please click FILTERS and enter define interface.
There are various types of match object, select DATE/TIME.
There are various types of match condition, select less than or equal to.
Then the match value could be set, in order to show, hereby set to match events 20 minutes ago.
Note: When define the time, the related date and character string could be used, for example, 1 year, 1 year ago, 3 year, 2 days.
Tick Delete all matches after set the value, and click SAVE to save the filter.When save, there will be a window interface bounced out, which requires to name the filter.
Click the backstage operation after define the name.Save it after the setting.
It shows that the disk usage rate is 26% at present.
Please click the FILTERS on the front page to choose the defined filter and run it.
After finish the run, the disk usage rate decrease to 22%, which means previous content are deleted.
It’s just one use method of filter, other use method could be self definition.[/vc_column_text][/vc_tta_section][/vc_tta_tour][/vc_column][/vc_row]
Leave a Reply
You must be logged in to post a comment.