On initialise la variable OX_INSTALL=/usr/local/ox.
On modifie le fichier ~/.bashrc ou /etc/profile :
JAVA_HOME=/usr/local/java
CATALINA_HOME=/usr/local/tomcat
TOMCAT_HOME=$CATALINA_HOME
ANT_HOME=/usr/local/ant
OX_HOME=/usr/local/openxchange
PATH=$JAVA_HOME/bin:$CATALINA_HOME/bin:$ANT_HOME/bin:$OX_HOME/bin:$OX
_HOME/sbin:$PATH
export PATH JAVA_HOME CATALINA_HOME TOMCAT_HOME ANT_HOME OX_HOME
Installation de logiciels à partir du source
● Java J2SDK 1.4.2 (tested with j2sdk-1_4_2_10-linux-i586.bin) (http://java.sun.com/j2se/1.4.2/downloads/index.html)
chmod u+x $OX_INSTALL/j2sdk-1_4_2_10-linux-i586.bin
cd /usr/local $OX_INSTALL/j2sdk-1_4_2_10-linux-i586.bin
[...] Procédure d'installation OpenXchange sur une debian Sarge Procédure d'installation Open-Xchange sur une debian Sarge (version 3.1 ) Type installation Version 1.0 On initialise la variable OX_INSTALL=/usr/local/ox. On modifie le fichier ~/.bashrc ou /etc/profile : JAVA_HOME=/usr/local/java CATALINA_HOME=/usr/local/tomcat TOMCAT_HOME=$CATALINA_HOME ANT_HOME=/usr/local/ant OX_HOME=/usr/local/openxchange PATH=$JAVA_HOME/bin:$CATALINA_HOME/bin:$ANT_HOME/bin:$OX_HOME/bin:$OX _HOME/sbin:$PATH export PATH JAVA_HOME CATALINA_HOME TOMCAT_HOME ANT_HOME OX_HOME Installation de logiciels à partir du source Java J2SDK (tested with j2sdk-1_4_2_10-linux-i586.bin) (http://java.sun.com/j2se/ 1.4 .2/downloads/index.html) chmod u+x $OX_INSTALL/j2sdk-1_4_2_10-linux-i586.bin cd /usr/local $OX_INSTALL/j2sdk-1_4_2_10-linux-i586.bin ln /usr/local/j2sdk 1.4 .2_10 /usr/local/java Apache Tomcat 5.x : fichier jakarta-tomcat- 5.0 .28.tar.gz (http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi) cd /usr/local tar xzvf $OX_INSTALL/jakarta-tomcat- 5.5 .9.tar.gz ln /usr/local/jakarta-tomcat- /usr/local/tomcat /usr/local/tomcat/bin/startup.sh Pour vérifier : Essayer http://myhost:8080 Apache Ant : fichier apache-ant- 1.6 .5-bin.tar.gz (http://ant.apache.org/bindownload.cgi) cd /usr/local tar xzvf $OX_INSTALL/apache-ant- 1.6 .5-bin.tar.gz ln /usr/local/apache-ant- /usr/local/ant PostgreSQL JDBC Driver : fichier pg 74.216 .jdbc3.jar (http://jdbc.postgresql.org/download.html) cd /usr/local mkdir jdbc cp $OX_INSTALL/pg 74.216 .jdbc3.jar jdbc On installe pas la version ou supérieur (incompatibilité). [...]
[...] Configuration : OpenLDAP Dans les fichiers de LDAP, les tabulations sont à respecter. vi /etc/ldap/slapd.conf # Schema and objectClass definitions include /etc/ldap/schema/core.schema include /etc/ldap/schema/cosine.schema include /etc/ldap/schema/nis.schema include /etc/ldap/schema/inetorgperson.schema include /usr/local/openxchange/share/openxchange.schema # Specific Directives for database of type bdb: # Database specific directives apply to this databasse until another # 'database' directive occurs database suffix bdb "dc=dipdns,dc=org" directory "/var/lib/ldap" index objectClass eq index uid,mailEnabled,cn,sn,givenname,lnetMailAccess,alias,loginDestination eq,sub index memberUid eq rootdn "cn=admin,dc=dipdns,dc=org" rootpw secret access to dn.subtree="ou=Users,ou=OxObjects,dc=dipdns,dc=org" by self write by users write by anonymous auth access to dn.subtree="ou=Groups,ou=OxObjects,dc=dipdns,dc=org" by self write by users write by anonymous auth # Save the time that the entry gets modified, for database lastmod on vi /etc/ldap/ldap.conf #TIMELIMIT 15 #DEREF never BASE dc=dipdns,dc=org HOST localhost /etc/init.d/slapd restart On rentre les données LDAP pour Open-Xchange perl 'print crypt("mailadmin-password",pack("C2",(int(rand 26)+65),(int(rand SagDmHAFC/qc4 vi /usr/local/openxchange/share/init_ldap.ldif Please change: homeDirectory: /home/mailadmin/ loginShell: /bin/bash mailEnabled: OK gidNumber: 500 mailDomain: dipdns.org ou: Administration uid: mailadmin sn: Admin preferredLanguage: EN mail: DipDNS Network smtpServer: localhost imapServer: localhost alias: alias: givenName: Admin cn: Admin Admin shadowMin: 0 shadowMax: 9999 shadowWarning: 7 shadowExpire: 0 userPassword: secret OXAppointmentDays: 5 OXGroupID: 500 OXTaskDays: 5 To: userPassword: {CRYPT}SagDmHAFC/qc4 /etc/init.d/slapd stop rm /var/lib/ldap/* slapadd /usr/local/openxchange/share/init_ldap.ldif /etc/init.d/slapd start A présent, on peut modifier /etc/ldap/ldap.conf : BASE dc=mydomain,dc=org HOST localhost Et créer des liens symboliques : ln /etc/ldap/ldap.conf /usr/local/openxchange/etc/groupware/ldap.conf On peut aussi installer avec apt-get, phpldapadmin pour administer l'annuaire LDAP, l'administration se fera sur http://myhost/phpldapadmin. [...]
[...] cd $TOMCAT_HOME/webapps/servlet/WEB-INF/lib cp /usr/local/jdom/build/jdom.jar . cp /usr/local/jdbc/pg 74.215 .jdbc3.jar . cp /usr/local/jaf/activation.jar . cp /usr/local/javamail/mail.jar . [...]
[...] # # ServerAdmin # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common # # JkWorkersFile /usr/local/apache2/conf/workers.properties JkLogFile /usr/local/apache2/logs/mod_jk.log JkLogLevel warn JkMount /*.jsp localhost JkMount /servlet/* localhost JkMount /umin/* localhost JkMount /examples/* localhost JkMount /servlet/webdav.contacts* localhost vi /usr/local/apache2/conf/workers.properties worker.list=localhost worker.localhost.port=8009 worker.localhost.host=localhost worker.localhost.type=ajp13 worker.localhost.lbfactor=1 workers.tomcat_home=/usr/local/tomcat workers.java_home=/usr/local/java /usr/local/apache2/bin/apachectl start Copie des icones pour Open-Xchange cd /usr/adm/ox tar -zxf ox_zenith_iconset- 0.1 .tar.gz cd ox_zenith_iconset/top cp * /usr/local/apache2/htdocs/cfintranet/images/top/EN/ cp * /usr/local/apache2/htdocs/cfintranet/images/top/DE/ Configuration : Postgresql vi /etc/postgresql/pg_hba.conf Change this line: # All other connections by UNIX sockets local all all ident sameuser To this line: # All other connections by UNIX sockets local all all trust And change this line: # All IPv4 connections from localhost host all all ident sameuser To this line: # All IPv4 connections from localhost host all all trust /etc/init.d/postgresql reload On crée des utilisateurs et une base pour Open-Xchange su - postgres createuser --pwprompt Enter name of user to add: openexchange Enter password for new user: secret Enter it again: secret Shall the new user be allowed to create databases? y Shall the new user be allowed to create more new users? [...]
[...] CATALINA_HOME="/usr/local/tomcat" case in start) if [ $CATALINA_HOME/bin/startup.sh then echo $"Starting Tomcat" /bin/su - nobody $CATALINA_HOME/bin/startup.sh fi stop) if [ $CATALINA_HOME/bin/shutdown.sh then echo $"Stopping Tomcat" /bin/su - nobody $CATALINA_HOME/bin/shutdown.sh fi echo $"Usage: {start stop}" exit 1 esac exit $RETVAL chmod 755 /etc/init.d/tomcat ln /etc/init.d/tomcat /etc/rc2.d/S91tomcat ln /etc/init.d/tomcat /etc/rc3.d/S91tomcat vi /etc/logrotate.conf # system-specific logs may be configured here /usr/local/tomcat/logs { weekly rotate 4 postrotate endscript compress } Quelques changements : vi /usr/local/openxchange/etc/webmail/system.cfg Please change: AVAILABLE-ENCODINGS="ISO-8859-1,ISO-8859-15,UTF-8" To: AVAILABLE-ENCODINGS="ISO-8859-1,ISO-8859-15,UTF-8,ISO-8859-8" Please change: USER-CAN-SELECT-ENCODING="false" To: USER-CAN-SELECT-ENCODING="true" vi /usr/local/openxchange/etc/webmail/webmail.properties Please change: user.default.folder.autocreate=false To: user.default.folder.autocreate=true Please change: user.default.folder.sent=INBOX/Sent user.default.folder.trash=INBOX/Trash user.default.folder.drafts=INBOX/Drafts user.default.folder.spam=INBOX/Spam To: user.default.folder.sent=INBOX.Sent user.default.folder.trash=INBOX.Trash user.default.folder.drafts=INBOX.Drafts user.default.folder.spam=INBOX.Spam On peut à présent s'y connecter : /etc/init.d/tomcat start /etc/init.d/openexchange start /etc/init.d/apache2 restart http://server-ip/cgi-bin/login.pl Les outils d'administration se trouve dans /usr/local/openxchange/sbin. Les outils graphiques n'existant uniquement pour la version non GPL. [...]
Source aux normes APA
Pour votre bibliographieLecture en ligne
avec notre liseuse dédiée !Contenu vérifié
par notre comité de lecture