Modifications entre les versions 1 et 2
Version 1 à la date du 2009-05-21 20:53:46
Taille: 6274
Éditeur: MoussaNombre
Commentaire:
Version 2 à la date du 2009-05-21 21:08:43
Taille: 6329
Éditeur: MoussaNombre
Commentaire: Ajout de la PJ extension SOGo integrator
Texte supprimé. Texte ajouté.
Ligne 179: Ligne 179:
 * installer l'extension SOGo Integrator pour thunderbird, qui se chargera d'installer les dépendances (lightning, SOGo Connector)  * installer l'extension SOGo Integrator pour thunderbird [[attachment:sogo-integrator-0.93-auf-20090521-2.xpi]], qui se chargera d'installer les dépendances (lightning, SOGo Connector)

Travail collaboratif avec SOGo

Documentation

SOGo chez nous

Le VPS

  • Serveur hôte : vz-tempo
  • N° : 507
  • hostname : sogo-mtl.ca.auf.org / thunderweb.ca.auf.org
  • IP : 199.84.140.22
  • partitionnement : / : 3G (/dev/vz/507 sur l'hôte)

Procedure d'installation : compiler et installer SOGo sous Debian (en attendant le .deb)

Je (MoussaNombre) rapporte ici un mail que m'a envoyé Francis de la société Inverse suite à l'installation de SOGo chez nous.

1. Créer un utilisateur "sogo"

  • adduser sogo --home /var/lib/sogo

2. Installer les packages nécessaires à la compilation de SOPE et SOGo

  • apt-get install make patch subversion monotone apache2 apache2-mpm-prefork apache2-prefork-dev postgresql-8.3 gobjc gnustep-make libgnustep-base1.16 libgnustep-base-dev libpq5 libpq-dev libldap2-dev libxml2-dev libmysqlclient15-dev gnustep-base-common gnustep-base-runtime

3. Activer certains modules d'Apache

  • a2enmod proxy a2enmod proxy_balancer a2enmod proxy_http

4. Créer le fichier de configuration /etc/apache2/conf.d/SOGo.conf

  •  Alias /sogo.woa/WebServerResources/ \
          /usr/local/lib/GNUstep/SOGo/WebServerResources/
    Alias /SOGo.woa/WebServerResources/ \
          /usr/local/lib/GNUstep/SOGo/WebServerResources/
    Alias /SOGO.woa/WebServerResources/ \
          /usr/local/lib/GNUstep/SOGo/WebServerResources/
    
    <LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*jpg">
      SetHandler default-handler
    </LocationMatch>
    
    <LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*png">
      SetHandler default-handler
    </LocationMatch>
    
    <LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*gif">
      SetHandler default-handler
    </LocationMatch>
    
    <LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*css">
      SetHandler default-handler
    </LocationMatch>
    
    <LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*js">
      SetHandler default-handler
    </LocationMatch>
    
    AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
               /usr/local/lib/GNUstep/SOGo/$1.SOGo/Resources/$2
    
    <Proxy balancer://sogocluster>
      BalancerMember http://127.0.0.1:20000 retry=1 max=1 timeout=10
      BalancerMember http://127.0.0.1:20001 retry=1 max=1 timeout=10
      BalancerMember http://127.0.0.1:20002 retry=1 max=1 timeout=10
      ProxySet lbmethod=byrequests maxattempts=1
      Allow from 127.0.0.1
    </Proxy>
    
    SetEnv force-proxy-request-1.0 1
    SetEnv proxy-nokeepalive 1
    ProxyRequests Off
    ProxyPass /SOGo balancer://sogocluster/SOGo
    
    RedirectMatch ^/$ /SOGo

5. Importer les sources de SOPE et SOGo

  • svn export -r 1632 http://svn.opengroupware.org/SOPE/trunk/ SOPE mtn db init --db=~/db.mtn mtn --db=~/db.mtn pull inverse.ca ca.inverse.sogo mtn --db=~/db.mtn checkout --branch ca.inverse.sogo SOGo

6. Appliquer les patches pour SOPE

  • cd ~/SOPE patch -p0 < ../SOGo/SOPE/sope-patchset-r1632.diff patch -p0 < ../SOGo/SOPE/sope-gsmake2.diff

7. Compiler et installer SOPE

  • cd ~/SOPE source /usr/share/GNUstep/Makefiles/GNUstep.sh ./configure --with-gnustep --enable-strip --enable-debug make sudo make install

8. Compiler et installer SOGo

  • cd ~/SOGo source /usr/share/GNUstep/Makefiles/GNUstep.sh ./configure --enable-strip --enable-debug make sudo make install

9. Installer les scripts

  • sudo cp ~sogo/SOGo/Scripts/sogod-wrapper /usr/sbin/sogod sudo cp ~sogo/SOGo/Scripts/sogo-init.d-debian /etc/init.d/

10. Créer le fichier ~sogo/GNUstep/Defaults/.GNUstepDefaults avec le contenu suivant

  • {
        NSGlobalDomain = {
        };
        gdnc = {
        };
        sogod = {
            NGImap4DisableIMAP4Pooling = YES;
            NGUseUTF8AsURLEncoding = YES;
            OCSFolderInfoURL = "mysql://sogo:sogo@localhost:3306/sogo/sogo_folder_info";
            SOGoACLsSendEMailNotifications = YES;
            SOGoAppointmentSendEMailNotifications = YES;
            SOGoAuthenticationMethod = LDAP;
            SOGoDefaultLanguage = French;
            SOGoDefaultMailDomain = auf.org;
            SOGoFallbackIMAP4Server = localhost;
            SOGoFoldersSendEMailNotifications = YES;
            SOGoLDAPSources = (
                {
                    CNFieldName = cn;
                    IDFieldName = cn;
                    UIDFieldName = mail;
                    baseDN = "ou=People,o=auf";
                    bindDN = "cn=admin,o=auf";
                    bindFields = mail;
                    bindPassword = "******";
                    canAuthenticate = YES;
                    displayName = "Adresses partag\U00E9es";
                    hostname = elledape.ca.auf.org;
                    id = public;
                    isAddressBook = YES;
                    port = 389;
                }
            );
            SOGoMailingMechanism = sendmail;
            SOGoProfileURL = "mysql://sogo:sogo@localhost:3306/sogo/sogo_user_profile";
            SOGoServerTimeZone = America/Montreal;
            WOApplicationRedirectURL = "https://sogo-mtl.ca.auf.org";
            SOGoCalendarDefaultRoles = ("PublicViewer");
            WOMessageUseUTF8 = YES;
            WOParsersUseUTF8 = YES;
            WOPort = 20000;
            WOUseRelativeURLs = NO;
        };
    }

11. Créer les répertoires pour les processus sogod

  • sudo su - mkdir /var/spool/sogo mkdir /var/run/sogo mkdir /var/log/sogo chown -R sogo /var/spool/sogo chown -R sogo /var/run/sogo chown -R sogo /var/log/sogo

12. Démarrer SOGo

  • /etc/init.d/sogo start

Pour y accéder

Via Thunderbird

c'est tout : thunderbird "causera" désormais avec le serveur SOGo

Comme webmail

ZA/Montréal/SOGo/ProcedureInstallation (dernière édition le 2010-10-21 08:28:33 par WillyManga)