Changes

From SME Server
Jump to navigationJump to search
12,162 bytes removed ,  16:21, 4 January 2019
Line 38: Line 38:  
  config setprop php70 PhpModule disabled
 
  config setprop php70 PhpModule disabled
 
  config setprop php71 PhpModule disabled
 
  config setprop php71 PhpModule disabled
 +
config setprop php72 PhpModule disabled
 +
config setprop php73 PhpModule disabled
 
  signal-event php-update
 
  signal-event php-update
    
====Install Zoneminder from the zmrepo====
 
====Install Zoneminder from the zmrepo====
yum install x264-libs.x86_64 librtmp.x86_64 xvidcore.x86_64 --enablerepo=rpmfusion
+
From a fresh install it should be that easy:
  yum install smeserver-zoneminder zoneminder --enablerepo=zmrepo,smecontribs,smedev,smetest
+
  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:
<syntaxhighlight lang="bash">
+
  yum install smeserver-zoneminder zoneminder --enablerepo=zmrepo,smecontribs  
# output of yum
+
  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
=================================================================================================================
+
  config set UnsavedChanges no
Paquet                                Architecture  Version                          Dépôt              Taille
  −
=================================================================================================================
  −
Installation:
  −
zoneminder                             x86_64        1.30.4-1.el6                      zmrepo            9.1 M
  −
Installation pour dépendance:
  −
  SDL_image                              x86_64        1.2.12-9.el6                      zmrepo              39 k
  −
atk                                    x86_64        1.30.0-1.el6                      base              195 k
  −
cairo                                  x86_64        1.8.8-6.el6_6                    base              309 k
  −
cambozola                              noarch        0.93-1.el6                        zmrepo             99 k
  −
dirac-libs                            x86_64        1.0.2-4.el6                      smecontribs       335 k
  −
  faad2-libs                            x86_64        1:2.7-2.el6.3                    zmrepo            145 k
  −
freerdp-libs                          x86_64        1.0.2-6.el6                      base              208 k
  −
game-music-emu                        x86_64        0.6.1-1.el6                      zmrepo            140 k
  −
gdk-pixbuf2                            x86_64        2.24.1-6.el6_7                    base              501 k
  −
giflib                                x86_64        4.1.6-3.1.el6                    base                37 k
  −
gtk2                                  x86_64        2.24.23-9.el6                    base              3.2 M
  −
hicolor-icon-theme                    noarch        0.11-1.1.el6                      base                40 k
  −
jack-audio-connection-kit              x86_64        0.121.3-1.el6                    zmrepo            186 k
  −
jasper-libs                            x86_64        1.900.1-22.el6                    base              139 k
  −
java-1.8.0-openjdk                    x86_64        1:1.8.0.191.b12-0.el6_10          updates            212 k
  −
java-1.8.0-openjdk-headless            x86_64        1:1.8.0.191.b12-0.el6_10          updates            32 M
  −
jpackage-utils                        noarch        1.7.5-3.16.el6                    base                60 k
  −
libXcomposite                          x86_64        0.4.3-4.el6                      base                20 k
  −
libXcursor                            x86_64        1.1.14-2.1.el6                    base                28 k
  −
libXfont                              x86_64        1.5.1-2.el6                      base              145 k
  −
libXft                                x86_64        2.3.2-1.el6                      base                55 k
  −
libXinerama                            x86_64        1.1.3-2.1.el6                    base                13 k
  −
libXrandr                              x86_64        1.5.1-1.el6                      base                25 k
  −
libXrender                            x86_64        0.9.10-1.el6                      base                24 k
  −
libXv                                  x86_64        1.0.11-1.el6                      base                17 k
  −
liba52                                x86_64        0.7.4-27.el6                      smetest            33 k
  −
libavc1394                            x86_64        0.5.3-9.1.el6                    base                45 k
  −
libavdevice                            x86_64        2.6.4-1.el6                      zmrepo              70 k
  −
libcddb                                x86_64        1.3.2-2.el6                      zmrepo              67 k
  −
libchromaprint                        x86_64        1.1-3.el6                        zmrepo              45 k
  −
libcroco                              x86_64        0.6.2-5.el6                      base              100 k
  −
libdca                                x86_64        0.0.5-6.el6                      zmrepo            100 k
  −
libdvbpsi                              x86_64        1.2.0-3.el6                      zmrepo              93 k
  −
libdvdnav                              x86_64        4.1.4-0.1.svn1184.el6            zmrepo              51 k
  −
libdvdread                            x86_64        4.1.4-0.3.svn1183.el6            base                63 k
  −
libebml                                x86_64        1.2.2-1.el6                      zmrepo              67 k
  −
libfontenc                            x86_64        1.1.2-3.el6                      base                29 k
  −
libgomp                                x86_64        4.4.7-23.el6                      base              135 k
  −
libkate                                x86_64        0.3.8-1.el6                      zmrepo              44 k
  −
libmad                                x86_64        0.15.1b-14.el6                    zmrepo              72 k
  −
libmatroska                            x86_64        1.2.0-1.el6                      zmrepo            134 k
  −
libmodplug                            x86_64        1:0.8.8.5-1.el6                  zmrepo            158 k
  −
libmpcdec                              x86_64        1.2.6-6.1.el6                    base                26 k
  −
libmpeg2                              x86_64        0.5.1-9.el6                      zmrepo              64 k
  −
libmtp                                x86_64        1.0.1-2.el6                      base                99 k
  −
librsvg2                              x86_64        2.26.0-14.el6                    base              140 k
  −
libsamplerate                          x86_64        0.1.7-2.1.el6                    base              1.0 M
  −
libshout                              x86_64        2.2.2-5.1.el6                    base                40 k
  −
libsmbclient                          x86_64        3.6.23-51.el6                    base              1.6 M
  −
libthai                                x86_64        0.1.12-3.el6                      base              183 k
  −
libtiger                              x86_64        0.3.4-1.el6                      zmrepo              34 k
  −
libupnp                                x86_64        1.6.25-1.el6                      smecontribs        95 k
  −
libvdpau                              x86_64        0.9-1.el6                        zmrepo              29 k
  −
libxkbfile                            x86_64        1.0.6-1.1.el6                    base                74 k
  −
lirc-libs                              x86_64        0.9.0-8.el6                      zmrepo              33 k
  −
live555                                x86_64        0-0.37.2012.04.27.el6            zmrepo            305 k
  −
minizip                                x86_64        1.2.3-29.el6                      base                25 k
  −
opencore-amr                          x86_64        0.1.2-2.el6                      smetest            162 k
  −
opus                                  x86_64        1.1.3-2.el6                      zmrepo            179 k
  −
pango                                  x86_64        1.28.1-11.el6                    base              351 k
  −
perl-AppConfig                        noarch        1.66-6.el6                        base                87 k
  −
perl-Archive-Zip                      noarch        1.30-2.el6                        base              107 k
  −
perl-Astro-SunTime                    noarch        0.01-1                            zmrepo            5.0 k
  −
perl-Class-Load                        noarch        0.10-1.el6                        zmrepo              22 k
  −
perl-Class-Std                        noarch        0.0.8-5.el6                      zmrepo              46 k
  −
perl-Class-Std-Fast                    noarch        0.0.8-2.el6                      zmrepo              23 k
  −
perl-Data-Dump                        noarch        1.15-1.el6                        zmrepo              28 k
  −
perl-Data-OptList                      noarch        0.104-4.el6                      base                12 k
  −
perl-Device-SerialPort                x86_64        1.04-5.el6                        zmrepo              64 k
  −
perl-IO-Interface                      x86_64        1.05-15.el6                      zmrepo              29 k
  −
perl-IO-Socket-Multicast              x86_64        1.12-1.el6                        zmrepo              23 k
  −
perl-Locale-Maketext-Simple            x86_64        1:0.18-144.el6                    base                32 k
  −
perl-Module-Load                      x86_64        1:0.16-144.el6                    base                29 k
  −
perl-Module-Load-Conditional          x86_64        0.30-144.el6                      base                35 k
  −
perl-Package-DeprecationManager        noarch        0.11-1.el6                        zmrepo              17 k
  −
perl-Package-Stash                    noarch        0.32-1.el6                        zmrepo              32 k
  −
perl-Package-Stash-XS                  x86_64        0.25-1.el6                        zmrepo              30 k
  −
perl-Params-Check                      x86_64        1:0.26-144.el6                    base                36 k
  −
perl-Pod-POM                          noarch        0.25-2.el6                       base                75 k
  −
perl-SOAP-WSDL                        noarch        3.003-2.el6                      zmrepo            141 k
  −
perl-Sub-Install                      noarch        0.925-6.el6                      base                20 k
  −
perl-Sys-CPU                          x86_64       0.51-7.el6                        zmrepo              12 k
  −
  perl-Sys-MemInfo                      x86_64        0.91-5.el6                        zmrepo              14 k
  −
perl-Sys-Mmap                          x86_64        0.17-6.el6                        zmrepo              30 k
  −
perl-Template-Toolkit                  x86_64        2.22-5.el6                        base              1.3 M
  −
perl-TermReadKey                      x86_64        2.30-13.el6                      base                31 k
  −
perl-Time-modules                      noarch        2006.0814-5.el6                  base                38 k
  −
perl-Try-Tiny                          noarch        0.11-4.el6                        zmrepo              23 k
  −
perl-URI-Encode                        noarch        0.09-1.el6                        zmrepo              18 k
  −
perl-X10                              noarch        0.03-1                            zmrepo              26 k
  −
php-pecl-apcu                          x86_64        4.0.11-2.el6                      zmrepo              58 k
  −
pixman                                x86_64        0.32.8-1.el6                      base              243 k
  −
soxr                                  x86_64        0.1.2-1.el6                      zmrepo              71 k
  −
taglib                                x86_64        1.6.1-1.1.el6                    base              196 k
  −
ttmkfdir                              x86_64        3.0.9-32.1.el6                    base                43 k
  −
twolame-libs                          x86_64        0.3.13-2.el6                      zmrepo              48 k
  −
tzdata-java                            noarch        2018g-1.el6                      updates            186 k
  −
vlc-core                              x86_64        2.1.6-3.el6                      zmrepo            9.8 M
  −
vo-amrwbenc                            x86_64        0.1.1-2.el6.1                    zmrepo              72 k
  −
x265-libs                              x86_64        1.6-1.el6                        zmrepo            595 k
  −
  xorg-x11-font-utils                    x86_64        1:7.2-11.el6                      base                75 k
  −
xorg-x11-fonts-Type1                  noarch        7.2-11.el6                        base              520 k
  −
zvbi                                  x86_64        0.2.35-1.el6                      zmrepo            432 k
  −
Mise à jour pour dépendance:
  −
celt                                  x86_64        0.11.3-1.el6                      zmrepo              73 k
  −
ffmpeg                                x86_64        2.6.4-1.el6                      zmrepo            1.2 M
  −
ffmpeg-libs                            x86_64        2.6.4-1.el6                      zmrepo            5.0 M
  −
 
  −
Résumé de la transaction
  −
=================================================================================================================
  −
Installation de  104 paquet(s)
  −
Mise à jour de    3 paquet(s)
  −
 
  −
</syntaxhighlight>
      
== NFR Acces Zoneminder via sub domain==
 
== NFR Acces Zoneminder via sub domain==
Line 184: Line 67:     
Next you need to adjust the existing (from above) custom template (make a backup copy first):
 
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
 
  sed -i '/Alias/d' /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/98zoneminder
 
Followed by:
 
Followed by:
Line 225: Line 109:  
<nowiki>#</nowiki> if this is the module for your cam <nowiki>https://forums.zoneminder.com/viewtopic.php?t=23361</nowiki>
 
<nowiki>#</nowiki> if this is the module for your cam <nowiki>https://forums.zoneminder.com/viewtopic.php?t=23361</nowiki>
   −
'''NFR  :'''  
+
'''NFR  :'''
 
+
* set php to 56 if default is not at list  56  
- set php to 56 if default is not at list  56  
+
* force https and redirect  
 
+
* allow to set a http host and if set, remove access using /zm  
- force https and redirect  
+
* set zoneminder and httpd template to :  
 
+
** auth agaisnt http OPT_USE_AUTH = true + AUTH_TYPE = remote + AUTH_RELAY disabled (or stream will fail)  
- allow to set a http host and if set, remove access using /zm  
+
** no zm auth but httpd auth  
 
+
** no auth at all -
- set zoneminder and httpd template to :  
+
** only httpd auth for admin  
 
+
** httpd auth for a list of user -
-- auth agaisnt http OPT_USE_AUTH = true + AUTH_TYPE = remote + AUTH_RELAY disabled (or stream will fail)  
+
* httpd auth for a group "zm group" -
 
+
* set LANG_DEFAULT depending on system language : fr_fr if fr_* or en_uk if en_*   
-- no zm auth but httpd auth  
+
* set email configs like EMAIL_ADDRESS
 
  −
-- no auth at all -
  −
 
  −
- only httpd auth for admin  
  −
 
  −
-- httpd auth for a list of user -
  −
 
  −
- httpd auth for a group "zm group" -
  −
 
  −
- set LANG_DEFAULT depending on system language : fr_fr if fr_* or en_uk if en_*   
  −
 
  −
- set email configs like EMAIL_ADDRESS
      
===Changelog===
 
===Changelog===
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,240

edits

Navigation menu