Taille: 5695
Commentaire: Un p't sommaire
|
← Version 7 à la date du 2010-10-21 08:28:33 ⇥
Taille: 5687
Commentaire: nouveau nom de domaine pour SOGO
|
Texte supprimé. | Texte ajouté. |
Ligne 6: | Ligne 6: |
* http://www.scalableogo.org/ | * http://www.sogo.nu/ |
Sommaire
-
Travail collaboratif avec SOGo
-
Procedure d'installation : compiler et installer SOGo sous Debian (en attendant le .deb)
- 1. Créer un utilisateur "sogo"
- 2. Installer les packages nécessaires à la compilation de SOPE et SOGo
- 3. Activer certains modules d'Apache
- 4. Créer le fichier de configuration /etc/apache2/conf.d/SOGo.conf
- 5. Importer les sources de SOPE et SOGo
- 6. Appliquer les patches pour SOPE
- 7. Compiler et installer SOPE
- 8. Compiler et installer SOGo
- 9. Installer les scripts
- 10. Créer le fichier ~sogo/GNUstep/Defaults/.GNUstepDefaults avec le contenu suivant
- 11. Créer les répertoires pour les processus sogod
- 12. Démarrer SOGo
-
Procedure d'installation : compiler et installer SOGo sous Debian (en attendant le .deb)
Travail collaboratif avec SOGo
Documentation
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:**********@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=user-acces-ldap,o=auf"; bindFields = mail; bindPassword = "******"; canAuthenticate = YES; displayName = "Adresses partag\U00E9es"; hostname = serveur-ldap; id = public; isAddressBook = YES; port = 389; } ); SOGoMailingMechanism = sendmail; SOGoProfileURL = "mysql://sogo:********@localhost:3306/sogo/sogo_user_profile"; SOGoServerTimeZone = America/Montreal; WOApplicationRedirectURL = "https://url-serveur-sogo"; 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