Changeset 713


Ignore:
Timestamp:
Jun 30, 2015, 5:45:38 PM (9 years ago)
Author:
djay
Message:

Various fixes in installation documentation

Location:
branches/PublicaMundi_David-devel/docs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/PublicaMundi_David-devel/docs/install/debian.rst

    r696 r713  
    8484  make
    8585
    86 Copy the necessary files to the `cgi-bin` directory (as administrator user)
     86Install the ``libzoo_service.so.1.5`` by using the following command:
     87
     88.. code-block:: guess
     89
     90      sudo make install
     91
     92
     93Copy the necessary files to the `cgi-bin` directory (as administrator
     94user):
    8795
    8896.. code-block:: guess
  • branches/PublicaMundi_David-devel/docs/install/installation.rst

    r711 r713  
    77steps :
    88
    9  * build the cgic library,
    10  * install the ZOO-Kernel,
    11  * install the ZOO-Services,
    12  * testing your installation.
     9.. contents::
     10    :local:
     11    :depth: 1
     12    :backlinks: top
     13
    1314
    1415Build cgic
     
    6162.................
    6263
     64.. contents::
     65    :local:
     66    :depth: 2
     67    :backlinks: top
     68
    6369This section provides information on :ref:`kernel_index` configure options. It is recommanded to also read the :ref:`kernel_config` section for configuration technical details.
    6470
     71
    6572Here is the list of available options as returned by ``./configure --help`` command:
     73
    6674
    6775.. list-table:: Configure Options
     
    191199All the options are described in more details in the following sections.
    192200
    193 GDAL Support (Required)
    194 ........................
    195 
    196 If gdal-config program is not found in your ``PATH``, a
    197 ``--with-gdal-config`` option can be used to specify its location. For
    198 instance, if ``gdal-config`` lies in ``/usr/local/bin`` which is not in
    199 your PATH, you may use the following command:
    200 
    201 ::
    202 
    203   $ ./configure --with-gdal-config=/usr/local/bin/gdal-config
    204 
    205 XML2 Support (Required)
    206 ........................
    207 
    208 If xml2-config program is not found in PATH, a *--with-xml2config* option can be used  to specify its location. For instance, if xml2-config is installed in ``/usr/local/bin`` which is not in PATH, you may use the following command:
    209 
    210 ::
    211 
    212   $ ./configure --with-xml2config=/usr/local/bin/xml2-config
     201Specific CGI Directory
     202**********************
     203
     204In the case your ``cgi-bin`` is not located in ``/usr/lib/`` as it is
     205assumed per default, then you can specify a specific target location
     206by using the following option:
     207
     208.. code::
     209
     210    ./configure --with-cgi-dir=/Lbrary/WebServer/CGI-Executables
     211
     212This way, when you will run the ``make install`` command, the
     213ZOO-Kernel will be deployed in the specified directory (so,
     214`/Lbrary/WebServer/CGI-Executables`` in this example).
    213215
    214216.. _zoo_install_db_backend:
    215217
    216218Use a Database Backend (Optional)
    217 ..................................
     219**********************************
    218220
    219221If you want to share the ongoing informations of running services
    220 between various ZOO-Kernel instances then you should activate this
    221 option. This way, both the *GetStatus*, *GetResult* and *Dismiss*
    222 requests can be run from any host accessing the same database.
     222between various ZOO-Kernel instances then you should use this
     223option: ``--with-db-backend``. This way, both the *GetStatus*,
     224*GetResult* and *Dismiss* requests can be run from any host accessing
     225the same database. Obviously, this will require that the ZOO-Kernel is
     226able to access the Database server. To learn how to configure this
     227connection and how to create this database please refer to :ref:`[1]
     228<zoo_activate_db_backend>` and :ref:`[2] <zoo_create_db_backend>`
     229respectively.
    223230
    224231.. note::
     
    231238
    232239
     240
     241GDAL Support (Required)
     242************************
     243
     244If gdal-config program is not found in your ``PATH``, a
     245``--with-gdal-config`` option can be used to specify its location. For
     246instance, if ``gdal-config`` lies in ``/usr/local/bin`` which is not in
     247your PATH, you may use the following command:
     248
     249::
     250
     251  $ ./configure --with-gdal-config=/usr/local/bin/gdal-config
     252
     253XML2 Support (Required)
     254************************
     255
     256If xml2-config program is not found in PATH, a *--with-xml2config* option can be used  to specify its location. For instance, if xml2-config is installed in ``/usr/local/bin`` which is not in PATH, you may use the following command:
     257
     258::
     259
     260  $ ./configure --with-xml2config=/usr/local/bin/xml2-config
     261
    233262Python Support (Optional)
    234 ..............................................
     263**************************
    235264
    236265The ``--with-python=yes`` option is required to activate the :ref:`kernel_index` Python support, using the following command:
     
    251280
    252281Python Version
    253 **************
     282##############
    254283
    255284If multiple Python versions are available and you want to use a
     
    263292
    264293PHP Support (Optional)
    265 ..............................................
     294***********************
    266295
    267296The ``--with-php=yes`` option is required to activate the
     
    285314
    286315Perl Support (Optional)
    287 ..............................................
     316************************
    288317
    289318The ``--with-perl=yes`` option can be used for activating the
     
    305334
    306335Java Support (Optional)
    307 ..............................................
     336************************
    308337
    309338In order to activate the Java support for ZOO-Kernel, the
     
    335364
    336365JavaScript Support (Optional)
    337 ..............................................
     366******************************
    338367
    339368In order to activate the JavaScript support for ZOO-Kernel,
     
    361390
    362391MapServer Support (Optional)
    363 ..............................................
     392*****************************
    364393
    365394
     
    378407
    379408Orfeo Toolbox Support (Optional)
    380 .....................................................
     409*********************************
    381410
    382411In order to activate the optional Orfeo Toolbox support, the
     
    397426
    398427SAGA GIS Support (Optional)
    399 .....................................................
     428****************************
    400429
    401430
  • branches/PublicaMundi_David-devel/docs/kernel/configuration.rst

    r710 r713  
    22
    33ZOO-Kernel configuration
    4 =================
     4========================
    55
    66Main configuration file
     
    166166For instance, adding the following in the Service source code  :
    167167
    168 .. code-block:: python
     168.. code:: python
    169169   
    170170    conf["lenv"]["cookie"]="XXX=XXX1000000; path=/"
     
    176176value stored before the Service execution.
    177177
    178 
    179 database section
    180 ...............................
    181 
    182 The database section allows to configure the ZOO-Kernel optional
    183 database support.
     178.. _zoo_activate_db_backend:
     179
     180Database section
     181...............................
     182
     183The database section allows to configure the
     184:ref:`ZOO-Kernel optional database support <zoo_install_db_backend>`.
    184185
    185186.. code-block:: guess
     
    193194        schema=public
    194195
    195 This will generate strings to be passed to GDAL:
    196 
    197 .. code-block::
     196This will generate strings to be passed to GDAL to connect the
     197database server:
     198
     199.. code-block:: guess
    198200   
    199      <type>:host=<host> port=<port>  user=<user> dbname=<dbname>
    200 
    201  .. code-block::
    202 
    203       PG:"dbname='zoo_project' host='127.0.0.' port='5432' user='x' password='y'"
     201    <type>:host=<host> port=<port>  user=<user> dbname=<dbname>
     202
     203
     204With the previous database section, it will give the following:
     205
     206.. code-block:: guess
     207
     208    PG:"dbname=zoo_project host=127.0.0.1 port=5432 user=username"
     209
     210.. _zoo_create_db_backend:
     211
     212To create a new database to be used by the ZOO-Kernel, you have
     213to load the `schema.sql
     214<http://zoo-project.org/trac/browser/trunk/zoo-project/zoo-kernel/sql/schema.sql>`_
     215file. For instance, you may run the following:
     216
     217.. code::
     218
     219    createdb zoo_project
     220    psql zoo_project -f zoo-project/zoo-kernel/sql/schema.sql
     221
     222.. note::
     223    You can choose another schema to store ZOO-Kernel specific
     224    informations. In such a case, you would need to edit the
     225    schema.sql file to uncomment line `33
     226    <http://zoo-project.org/trac/browser/trunk/zoo-project/zoo-kernel/sql/schema.sql#L33>`_
     227    and `34
     228    <http://zoo-project.org/trac/browser/trunk/zoo-project/zoo-kernel/sql/schema.sql#L34>`_.
     229
     230
    204231
    205232     
Note: See TracChangeset for help on using the changeset viewer.

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