Changes

Jump to navigation Jump to search
821 bytes added ,  05:28, 25 March 2023
Line 20: Line 20:  
<!-- keep this first element as is, you can add some if needed -->
 
<!-- keep this first element as is, you can add some if needed -->
 
{{#smeversion: {{#var:smecontribname}} }}
 
{{#smeversion: {{#var:smecontribname}} }}
{{#smeversion: {{#var:contribname}} | this is available in the zmrepo external repository with most of the dependencies}}
      
==Description==
 
==Description==
Line 28: Line 27:     
==Installation==
 
==Installation==
====Requirements====
+
<tabs container><tab name="For SME 10">
 +
yum --enablerepo=smecontribs,smetest install smeserver-extrarepositories-zmrepo smeserver-extrarepositories-rpmfusion smeserver-extrarepositories-epel
 +
 
 +
yum install smeserver-zoneminder zoneminder --enablerepo=zmrepo,smecontribs,epel,rpmfusion
 +
</tab><tab name="For SME 9">
 
You can choose to activate one of the php version as long as it is at least >=56
 
You can choose to activate one of the php version as long as it is at least >=56
  yum --enablerepo=smecontribs,smetest install smeserver-extrarepositories-zmrepo smeserver-extrarepositories-remi-safe  smeserver-extrarepositories-rpmfusion smeserver-extrarepositories-epel
+
  yum --enablerepo=smecontribs install smeserver-extrarepositories-zmrepo smeserver-extrarepositories-remi-safe  smeserver-extrarepositories-rpmfusion smeserver-extrarepositories-epel
 
  signal-event yum-modify
 
  signal-event yum-modify
 
  yum install smeserver-php-scl --enablerepo=smecontribs
 
  yum install smeserver-php-scl --enablerepo=smecontribs
Line 42: Line 45:  
  signal-event php-update
 
  signal-event php-update
   −
====Install Zoneminder from the zmrepo====
   
From a fresh install it should be that easy:
 
From a fresh install it should be that easy:
 
  yum install smeserver-zoneminder zoneminder --enablerepo=zmrepo,smecontribs
 
  yum install smeserver-zoneminder zoneminder --enablerepo=zmrepo,smecontribs
 +
 
  signal-event zoneminder-update
 
  signal-event zoneminder-update
 
  config set UnsavedChanges no
 
  config set UnsavedChanges no
If you already have few packages depending on ffmpeg, you might need to force the install as zoneminder need a newer ffmpeg. We have built a compatibility package, but the global install is not a one liner:
+
If you already have few packages depending on ffmpeg, you might need to force the install as zoneminder need a newer ffmpeg. We have built a compatibility package, but this needs two more steps :
 +
wget https://mirror.canada.pialasse.com/releases/9/smetest/x86_64/RPMS/ffmpeg-compat_0.10.16-0.10.16-2.el6.sme.x86_64.rpm
 +
yum install ffmpeg-compat_0.10.16-0.10.16-2.el6.sme.x86_64.rpm --enablerepo=smecontribs,zmrepo
 
  yum install smeserver-zoneminder zoneminder --enablerepo=zmrepo,smecontribs  
 
  yum install smeserver-zoneminder zoneminder --enablerepo=zmrepo,smecontribs  
 
  rpm -ivh <nowiki>https://mirror.canada.pialasse.com/releases/9/ffmpeg-compat_0.10.16-0.10.16-2.el6.sme.x86_64.rpm</nowiki>  
 
  rpm -ivh <nowiki>https://mirror.canada.pialasse.com/releases/9/ffmpeg-compat_0.10.16-0.10.16-2.el6.sme.x86_64.rpm</nowiki>  
 
  signal-event zoneminder-update  
 
  signal-event zoneminder-update  
 
  config set UnsavedChanges no
 
  config set UnsavedChanges no
 +
 +
</tab>
 +
</tabs>
    
== NFR Acces Zoneminder via sub domain==
 
== NFR Acces Zoneminder via sub domain==
Line 65: Line 73:  
  signal-event domain-create cctv.myserver.com
 
  signal-event domain-create cctv.myserver.com
   −
 
+
  Now you can reach your zoneminder portal at https://cctv.myserver.com
Next you need to adjust the existing (from above) custom template (make a backup copy first):
  −
  cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/98zoneminder /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/98zoneminder
  −
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==
 
==Uninstall==
Line 93: Line 95:  
- Mac/Windows/Linux [https://github.com/pliablepixels/zmNinja/releases Github]
 
- Mac/Windows/Linux [https://github.com/pliablepixels/zmNinja/releases Github]
   −
=== Bugs ===
+
== Bugs ==
 
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 
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}}
 
and select the {{#var:smecontribname}} component or use {{BugzillaFileBug|product=SME%20Contribs|component={{#var:smecontribname}}|title=this link}}
Line 99: Line 101:  
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.}}  
 
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.}}  
   −
=== Know issues and NFR ===
+
== Know issues and NFR ==
 
   
 
   
 
'''to use usb camera would need''' :  
 
'''to use usb camera would need''' :  
   −
usermod -a -G video www chmod 777 /dev/video0  
+
  usermod -a -G video www  
 
+
  chmod 777 /dev/video0  
<nowiki>#</nowiki> or find an alternative, that was what helped me here modprobe uvcvideo
     −
<nowiki>#</nowiki> if this is the module for your cam <nowiki>https://forums.zoneminder.com/viewtopic.php?t=23361</nowiki>
+
# or find an alternative, that was what helped me here modprobe uvcvideo
 +
# if this is the module for your cam <nowiki>https://forums.zoneminder.com/viewtopic.php?t=23361</nowiki>
 +
'''syslog error when using vlclib:'''<syntaxhighlight lang="bash">
 +
ALSA lib confmisc.c:550:(snd_determine_driver) could not open control for card 0ALSA lib conf.c:3463:(_snd_config_evaluate) function snd_func_card_driver returned error: Permission denied
 +
</syntaxhighlight>see https://forums.gentoo.org/viewtopic-t-319220-highlight-alsa+permission.html<syntaxhighlight lang="bash">
 +
usermod -a -G audio www
 +
</syntaxhighlight>also create and add  in  /etc/udev/rules.d/50-udev.rules<syntaxhighlight lang="bash">
 +
# alsa devices
 +
SUBSYSTEM="sound", GROUP="audio"
 +
KERNEL="controlC[0-9]*", NAME="snd/%k", GROUP="audio"
 +
KERNEL="hw[CD0-9]*", NAME="snd/%k", GROUP="audio"
 +
KERNEL="pcm[CD0-9cp]*", NAME="snd/%k", GROUP="audio"
 +
KERNEL="midiC[D0-9]*", NAME="snd/%k", GROUP="audio"
 +
KERNEL="timer", NAME="snd/%k", GROUP="audio"
 +
KERNEL="seq", NAME="snd/%k", GROUP="audio"
 +
</syntaxhighlight>
    
'''NFR  :'''
 
'''NFR  :'''
Line 123: Line 139:  
* set email configs like EMAIL_ADDRESS
 
* set email configs like EMAIL_ADDRESS
   −
===Changelog===
+
==Changelog==
 
Only released version in smecontrib are listed here.
 
Only released version in smecontrib are listed here.
   Line 131: Line 147:  
<!-- list of category you want to see this page in -->
 
<!-- list of category you want to see this page in -->
 
[[Category: Contrib]]
 
[[Category: Contrib]]
 +
[[Category: Video]]
 
<!-- Please keep there the template revision  number as is -->
 
<!-- Please keep there the template revision  number as is -->
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu