Changes between Version 2 and Version 3 of ZooWebSite/ZooKernel/InstallationUsingOO


Ignore:
Timestamp:
Dec 2, 2010, 10:51:54 PM (9 years ago)
Author:
djay
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ZooWebSite/ZooKernel/InstallationUsingOO

    v2 v3  
    55== Install !OpenOffice and start it in server mode ==
    66
    7 First of all, you'll have to setup OpenOffice on your machine, then use the following commnd to start OpenOffice Server :
     7First of all, you'll have to setup !OpenOffice on your machine, then use the following command to start !OpenOffice Server :
    88
    99{{{
     
    1414}}}
    1515
    16 Now, you should get an OpenOffice server ready to be used remotly, using {{{127.0.0.1}}} ip adress and {{{3662}}} port.
     16Now, you should get an !OpenOffice server ready to be used remotly, using {{{127.0.0.1}}} ip adress and {{{3662}}} port.
    1717
    18 Make sure your OpenOffice Server started correctly using the following command (replace {{{grep}}} by {{{findstr}}} on WIN32 platform) :
     18Make sure your !OpenOffice Server started correctly using the following command (replace {{{grep}}} by {{{findstr}}} on WIN32 platform) :
    1919
    2020{{{
     
    2525== Compile ZOO Kernel ==
    2626
    27 First compile using your local Python installation. Then edit the Makefile and set {{{PYTHONCFLAGS}}} to your local OpenOffice Python headers installation path as for {{{PYTHONLDFLAGS}}} to the python shared library provided by OpenOffice.
     27First compile using your local Python installation. Then edit the Makefile and set {{{PYTHONCFLAGS}}} to your local !OpenOffice Python headers installation path as for {{{PYTHONLDFLAGS}}} to the python shared library provided by !OpenOffice.
    2828
    2929Here, you'll find the specific section sample you can copy/paste in your local Makefile :
     
    4343}}}
    4444
    45 Now update your {{{/etc/ld.so.conf}}} to add the directory where the OpenOffice shared lilbraries are located.
     45Now update your {{{/etc/ld.so.conf}}} to add the directory where the !OpenOffice shared lilbraries are located.
    4646
    4747{{{
     
    4949}}}
    5050
    51 Note that if you already have a {{{/libpython2.3.so.1.0}}} installed in your {{{/usr/lib}}} directory then you'll have to save then create a symbolic link from {{{/usr/lib}}} to your OpenOffice corresponding library.
     51Note that if you already have a {{{/libpython2.3.so.1.0}}} installed in your {{{/usr/lib}}} directory then you'll have to save then create a symbolic link from {{{/usr/lib}}} to your !OpenOffice corresponding library.
    5252
    5353== Configure your ZOO Kernel ==
    5454
    55 To make the Exporter ZOO ServiceProvider working, you'll have to edit the main ZOO configuration file ({{{main.cfg}}}) located in the same directory as you kernel to add some specific parameters needed by Python to support UNO.
     55To make the Exporter ZOO Service working, you'll have to edit the main ZOO configuration file ({{{main.cfg}}}) located in the same directory as you kernel to add some specific parameters needed by Python to support UNO.
    5656
    57 First, set the paths in {{{[env]}}} section, as for other parameters in this section they will be automaticaly setted by ZOO Kernl before calling ZOO ServiceProvider. Then, add the {{{[oo]}}} section containing the parameter {{{server}}} which contain the UNO connection string (setted to your local OpenOffice Server listen adress and port).
     57First, set the paths in {{{[env]}}} section, as for other parameters in this section they will be automaticaly setted by ZOO Kernel before calling ZOO Service. Then, add the {{{[oo]}}} section including the parameter {{{server}}} which contains the UNO connection string (setted to your local !OpenOffice Server listen adress and port).
    5858
    5959{{{
     
    7474
    7575
    76 To check which are your local parameters, please use the following commands :
     76To check which are your local parameters for {{{PYTHONPATH}}} variable to set in the {{{[env]}}} section, please use the following commands on your server :
    7777
    7878{{{
     
    8585== Test it ! ==
    8686
    87 Last thing to do before testing your ZOO ServiceProvider is to deploy it in your local installation.
     87Last thing to do before testing your ZOO !ServiceProvider is to deploy it in your local installation.
    8888
    8989{{{
     
    9595
    9696{{{
    97 http://localhost/zoo/?Service=WPS&Request=Execute&Version=1.0.0&Identifier=OdtConverter&DataInputs=InputDoc=demoDoc.odt@dataType=string;OutputDoc=demoDoc.pdf@dataType=string
     97http://localhost/cgi-bin/zoo_loader_oo.cgi?Service=WPS&Request=Execute&Version=1.0.0&Identifier=OdtConverter&DataInputs=InputDoc=demoDoc.odt@dataType=string;OutputDoc=demoDoc.pdf@dataType=string
    9898}}}
    9999
    100 You can also consult our local ZOO Kernel installation using [http://www.zoo-project.orgindex.php?left=zoodemo-odtconverter&special=1 this form] !
     100You can also consult our local ZOO Kernel installation using [/../site/ZooWebSite/Demo/FormTools#ZOOODTconverterdemo this form] !

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png