Changes between Version 2 and Version 3 of ZooWebSite/ZooKernel/InstallationUsingOO
- Timestamp:
- Dec 2, 2010, 10:51:54 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ZooWebSite/ZooKernel/InstallationUsingOO
v2 v3 5 5 == Install !OpenOffice and start it in server mode == 6 6 7 First of all, you'll have to setup OpenOffice on your machine, then use the following commnd to startOpenOffice Server :7 First of all, you'll have to setup !OpenOffice on your machine, then use the following command to start !OpenOffice Server : 8 8 9 9 {{{ … … 14 14 }}} 15 15 16 Now, you should get an OpenOffice server ready to be used remotly, using {{{127.0.0.1}}} ip adress and {{{3662}}} port.16 Now, you should get an !OpenOffice server ready to be used remotly, using {{{127.0.0.1}}} ip adress and {{{3662}}} port. 17 17 18 Make sure your OpenOffice Server started correctly using the following command (replace {{{grep}}} by {{{findstr}}} on WIN32 platform) :18 Make sure your !OpenOffice Server started correctly using the following command (replace {{{grep}}} by {{{findstr}}} on WIN32 platform) : 19 19 20 20 {{{ … … 25 25 == Compile ZOO Kernel == 26 26 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 byOpenOffice.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. 28 28 29 29 Here, you'll find the specific section sample you can copy/paste in your local Makefile : … … 43 43 }}} 44 44 45 Now update your {{{/etc/ld.so.conf}}} to add the directory where the OpenOffice shared lilbraries are located.45 Now update your {{{/etc/ld.so.conf}}} to add the directory where the !OpenOffice shared lilbraries are located. 46 46 47 47 {{{ … … 49 49 }}} 50 50 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.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. 52 52 53 53 == Configure your ZOO Kernel == 54 54 55 To make the Exporter ZOO Service Providerworking, 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.55 To 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. 56 56 57 First, set the paths in {{{[env]}}} section, as for other parameters in this section they will be automaticaly setted by ZOO Kern l before calling ZOO ServiceProvider. Then, add the {{{[oo]}}} section containing the parameter {{{server}}} which contain the UNO connection string (setted to your localOpenOffice Server listen adress and port).57 First, 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). 58 58 59 59 {{{ … … 74 74 75 75 76 To check which are your local parameters , please use the following commands:76 To check which are your local parameters for {{{PYTHONPATH}}} variable to set in the {{{[env]}}} section, please use the following commands on your server : 77 77 78 78 {{{ … … 85 85 == Test it ! == 86 86 87 Last thing to do before testing your ZOO ServiceProvider is to deploy it in your local installation.87 Last thing to do before testing your ZOO !ServiceProvider is to deploy it in your local installation. 88 88 89 89 {{{ … … 95 95 96 96 {{{ 97 http://localhost/ zoo/?Service=WPS&Request=Execute&Version=1.0.0&Identifier=OdtConverter&DataInputs=InputDoc=demoDoc.odt@dataType=string;OutputDoc=demoDoc.pdf@dataType=string97 http://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 98 98 }}} 99 99 100 You can also consult our local ZOO Kernel installation using [ http://www.zoo-project.orgindex.php?left=zoodemo-odtconverter&special=1this form] !100 You can also consult our local ZOO Kernel installation using [/../site/ZooWebSite/Demo/FormTools#ZOOODTconverterdemo this form] !