Changes

From SME Server
Jump to navigationJump to search
5,513 bytes added ,  06:43, 13 March 2018
Created page with "{{Languages}} <!-- here we define the contrib name variable --> <!-- we get the page title, remove suffix for translated version; if needed you can define there with the value..."
{{Languages}}
<!-- here we define the contrib name variable -->
<!-- we get the page title, remove suffix for translated version; if needed you can define there with the value you want-->
{{#vardefine:contribname| {{lc: {{#titleparts: {{BASEPAGENAME}} |1}} }} }}
{{#vardefine:smecontribname| smeserver-{{lc: {{#titleparts: {{BASEPAGENAME}} |1}} }} }}
<!-- we define the language -->
{{#vardefine:lang| {{lc: {{#titleparts: {{PAGENAME}} | | -1}} }} |en }}
{{Infobox contribs
|name={{#var:contribname}}
|image={{#var:contribname}}.png
|description_image= {{#var:contribname}} logo
|maintainer= Unnilennium
|licence=
|url= https://wwww.zoneminder.com
|category= file
|tags=cloud,file share
}}{{Warning box|This is early alpha development please use only on test machine, not for production}}

=== Version ===
<!-- keep this first element as is, you can add some if needed -->
{{#smeversion: {{#var:smecontribname}} }}
{{#smeversion: {{#var:contribname}} | this is available in the zmrepo external repository with most of the dependencies}}

==Description==
[http://zoneminder.com ZoneMinder] is intended for use in single or multi-camera video security applications, including commercial or home CCTV, theft prevention and child, family member or home monitoring and other domestic care scenarios such as nanny cam installations. It supports capture, analysis, recording, and monitoring of video data coming from one or more video or network cameras attached to a Linux system. ZoneMinder also support web and semi-automatic control of Pan/Tilt/Zoom cameras using a variety of protocols. It is suitable for use as a DIY home video security system and for commercial or professional video security and surveillance. It can also be integrated into a home automation system via X.10 or other protocols.

This contrib is for IP Camera's only.

==Installation==
====Requirements====
yum --enablerepo=smecontribs,smedev install smeserver-extrarepositories-zmrepo smeserver-extrarepositories-remi-safe
signal-event yum-modify
yum install smeserver-php-scl --enablerepo=smecontribs
config show php54 PhpModule disabled
config show php55 PhpModule disabled
config show php56 PhpModule enabled
config show php70 PhpModule disabled
config show php71 PhpModule disabled
signal-event php-update

====Install Zoneminder from the zmrepo====
yum install smeserver-zoneminder zoneminder --enablerepo=zmrepo,smecontribs,smedev,smetest
signal-event zoneminder-update
config set UnsavedChanges no


== NFR Acces Zoneminder via sub domain==
Instead of accessing the Zoneminder portal at http://myserver.com/zm, it is possible to change this to e.g. https://cctv.myserver.com. For this the easiest and comfortable way is to use the webapps-common contrib.

{{Note box|This part assumes you have followed the complete above installation procedure.}}


Install the webapps-common contrib according to the [[Webapps-common|'''Contrib page''']]. Then (as per example for https://cctv.myserver.com) issue the following as root:
db domains set cctv.myserver.com domain Description "CCTV" Content Primary \
Nameservers internet TemplatePath WebAppVirtualHost \
DocumentRoot /usr/share/zoneminder/www RequireSSL enabled
signal-event domain-create cctv.myserver.com


Next you need to adjust the existing (from above) custom template (make a backup copy first):
sed -i '/Alias/d' /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/98zoneminder
Followed by:
signal-event webapps-update
to activate all changes. Now you can reach your zoneminder portal at https://cctv.myserver.com

==Uninstall==
service zoneminder stop
yum --setopt=tsflags=noscripts remove zoneminder smeserver-zoneminder

do not forget to remove the domain you created if you did
signal-event domain-delete cctv.myserver.com
signal-event webapps-update
Now to cleanup everything you may want to perform the usual post-upgrade and reboot events. Apart from the php-scl and webapps contribs, all that is left is the MySQL database '''zm''' and the logfiles. It's up to you what to do with them.

==ZoneMinder clients==
By default, ZoneMinder can be accessed via the webinterface. There are also 3rd party client applications available.

'''[https://pliablepixels.github.io/ zmNinja]''', a beautiful fast and efficient client application (freely available on [https://github.com/pliablepixels/zmNinja Github]) '''[https://www.youtube.com/watch?v=prtA_mv68Ok&feature=youtu.be DEMO]'''

- Android - [https://play.google.com/store/apps/details?id=com.pliablepixels.zmninja_pro&hl=en Play Store]

- iOS - [https://itunes.apple.com/us/app/zmninja-pro/id1067914954?mt=8 iTunes]

- Mac/Windows/Linux [https://github.com/pliablepixels/zmNinja/releases Github]

=== Bugs ===
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
and select the {{#var:smecontribname}} component or use {{BugzillaFileBug|product=SME%20Contribs|component={{#var:smecontribname}}|title=this link}}

Below is an overview of the current issues for this contrib:{{#bugzilla:columns=id,product,version,status,summary|sort=id|order=desc|component={{#var:smecontribname}} |noresultsmessage=No open bugs found.}}

===Changelog===
Only released version in smecontrib are listed here.

{{ #smechangelog: {{#var:smecontribname}} }}


<!-- list of category you want to see this page in -->
[[Category: Contrib]]

<!-- Please keep there the template revision number as is -->
[[contribtemplate::1| ]]
[[contriblang:: {{#var:lang}} | ]]
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,221

edits

Navigation menu