Changes

Jump to navigation Jump to search
2,821 bytes added ,  17:26, 7 August 2014
Line 115: Line 115:     
I think the custom from stuff is still relevant also
 
I think the custom from stuff is still relevant also
 +
 +
=== Installing SOGo on SME8 64 bit ===
 +
 +
'''Not necessary any more but moved here for history :)'''
 +
 +
{{Note box|No other customization from above sections need to be applied in addition to this section}}
 +
Add the repository to your SME Server 8 modifying the SOGo repo to point to 64 x86_64:
 +
 +
db yum_repositories set sogo repository \
 +
      BaseURL http://inverse.ca/downloads/SOGo/RHEL5/x86_64/ \
 +
      EnableGroups yes \
 +
      GPGCheck no \
 +
      Name "Inverse SOGo Repository" \
 +
      Visible yes \
 +
      status disabled
 +
 +
db yum_repositories set nethsme repository \
 +
      BaseURL http://smeserver.nethesis.it/releases/8/i386 \
 +
      EnableGroups yes \
 +
      GPGCheck yes \
 +
      GPGKey http://smeserver.nethesis.it/releases/RPM-GPG-KEY-nethesis \
 +
      Name "Nethesis SME Repository" \
 +
      Visible yes \
 +
      status disabled
 +
 +
db yum_repositories set epel repository \
 +
      Name 'Epel - EL5' \
 +
      BaseUrl 'http://download.fedoraproject.org/pub/epel/5/$basearch' \
 +
      MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch' \
 +
      EnableGroups no \
 +
      GPGCheck yes \
 +
      GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
 +
      Visible no \
 +
      status disabled
 +
 +
signal-event yum-modify
 +
 +
Then you can install smeserver-sogo package (apply memcached form epel before install):
 +
 +
yum install smeserver-sogo --enablerepo=nethsme,sogo,epel
 +
 +
signal-event post-upgrade; signal-event reboot
 +
 +
Now you must change some path in /etc/httpd.conf. Proceed as follows:
 +
create this folder in /etc/templates-custom:
 +
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
 +
and copy the SOGo templat efragment in customized template folder:
 +
cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/85SOGoAccess /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/85SOGoAccess
 +
then edit with your favourite editor the template to be customized and change /usr/lib/... paths in /usr/lib64/...
 +
so that the following lines in your template fragment appears modified as follows:
 +
...............                       
 +
Alias /.woa/WebServerResources/ /usr/lib64/GNUstep/SOGo/WebServerResources/
 +
Alias /SOGo.woa/WebServerResources/ /usr/lib64/GNUstep/SOGo/WebServerResources/
 +
Alias /SOGo/WebServerResources/ /usr/lib64/GNUstep/SOGo/WebServerResources/
 +
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) /usr/lib64/GNUstep/SOGo/$1.SOGo/Resources$2
 +
...............                         
 +
<Directory "/usr/lib64/GNUstep/SOGo/WebServerResources/">
 +
...............
 +
 +
or you can enter the following command:
 +
  grep -rl 'usr/lib' /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/85SOGoAccess  | xargs sed -i 's/lib/lib64/g'
 +
 +
Expand template and restart you SOGo
 +
expand-template /etc/httpd/conf/httpd.conf
 +
sv t httpd-e-smith
 +
service sogod start

Navigation menu