Recherche

Sommaire

Pages enfant
  • Installation du serveur Open Office

Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.
Commentaire: Migrated to Confluence 5.3

...

Installation OpenOffice 2.4

La configuration du serveur openOffice a un peu changé à partir  de la version Nuxeo-5-2-M4 (introduction d'un deamon pour gérer directement le serveur openOffice), et l'installattion de OO v3 nécessite  l'utilisation de la library jpipe. Ces nouveautés seront intégrées à une prochaine release de ESUP-ECM.

Il est donc fortement recommandé d'installer une     Il est conseillé d'installer la version 2 de openOffice avec esup-ecm-1.0 .

    Consultez le guide d'installation officiel : http://fr.openoffice.org/Documentation/Guides/SETUP_GUIDE_FR08_1.pdf

...

Bloc de code
  
  cd /tmp
  wget httpftp://archive.services.openoffice.cict.frorg/pub/openoffice-archive/stable/2.4.2/OOo_2.4.2_LinuxIntel_install_en-US.tar.gz_
  tar -zxvf OOo_2.4.2_LinuxIntel_install_en-US.tar.gz
  cd OOH680_m18_native_packed-1_en-US.9364/RPMS/
  rpm -ivh *.rpm

...

Bloc de code
 
         #!/bin/sh
         #
         # chkconfig: 345 97 1
         # description: this shell script takes care of starting and stopping
         # openoffice server.

          case "$1" in

            start)
              echo "Starting openoffice: "
              Xvfb :8100 2>/dev/null &
             sleep 5
             <path/opt/openoffice.org2.4to/openoffice>/program/soffice.bin -headless "-accept=socket,host=localhost,port=8100;urp;StarOffice.Service" 2>/dev/null &
             echo
           ;;

          stop)
             ps -aef|grep "program/soffice.bin" | grep -v grep|cut -c10-15 >/var/run/ooo.pid
            val=`head /var/run/ooo.pid`
             if [ -n $val ]
              then
                 kill $val 2>/dev/null && echo "Shutting down openoffice: " $val
              fi
             ps -aef|grep "Xvfb" | grep -v grep|cut -c10-15 >/var/run/xvfb.pid
             val=`head /var/run/xvfb.pid`
            if [ -n $val ]
               then
                kill $val 2>/dev/null && echo "Shutting down virtual xterm: " $val
           fi   
           echo
          ;;

          restart)
             $0 stop
             $0 start
          ;;

          status)
            echo "Servers listening on port 8100 :"
            netstat -na | grep :8100 | wc -l
            netstat -na | grep :8100
            echo "openoffice processes :"
            ps -aef | grep -i program/soffice | grep -v grep
            echo "X processes :"
            ps -ef | grep -i xvfb | grep -v grep
        ;;

      *)
          echo "Usage: nxopenoffice [start|stop|restart|status]\n"
          exit 1

      esac

     exit 0

...