Changeset 713
- Timestamp:
- Jun 30, 2015, 5:45:38 PM (9 years ago)
- Location:
- branches/PublicaMundi_David-devel/docs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PublicaMundi_David-devel/docs/install/debian.rst
r696 r713 84 84 make 85 85 86 Copy the necessary files to the `cgi-bin` directory (as administrator user) 86 Install the ``libzoo_service.so.1.5`` by using the following command: 87 88 .. code-block:: guess 89 90 sudo make install 91 92 93 Copy the necessary files to the `cgi-bin` directory (as administrator 94 user): 87 95 88 96 .. code-block:: guess -
branches/PublicaMundi_David-devel/docs/install/installation.rst
r711 r713 7 7 steps : 8 8 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 13 14 14 15 Build cgic … … 61 62 ................. 62 63 64 .. contents:: 65 :local: 66 :depth: 2 67 :backlinks: top 68 63 69 This section provides information on :ref:`kernel_index` configure options. It is recommanded to also read the :ref:`kernel_config` section for configuration technical details. 64 70 71 65 72 Here is the list of available options as returned by ``./configure --help`` command: 73 66 74 67 75 .. list-table:: Configure Options … … 191 199 All the options are described in more details in the following sections. 192 200 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 201 Specific CGI Directory 202 ********************** 203 204 In the case your ``cgi-bin`` is not located in ``/usr/lib/`` as it is 205 assumed per default, then you can specify a specific target location 206 by using the following option: 207 208 .. code:: 209 210 ./configure --with-cgi-dir=/Lbrary/WebServer/CGI-Executables 211 212 This way, when you will run the ``make install`` command, the 213 ZOO-Kernel will be deployed in the specified directory (so, 214 `/Lbrary/WebServer/CGI-Executables`` in this example). 213 215 214 216 .. _zoo_install_db_backend: 215 217 216 218 Use a Database Backend (Optional) 217 .................................. 219 ********************************** 218 220 219 221 If 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. 222 between various ZOO-Kernel instances then you should use this 223 option: ``--with-db-backend``. This way, both the *GetStatus*, 224 *GetResult* and *Dismiss* requests can be run from any host accessing 225 the same database. Obviously, this will require that the ZOO-Kernel is 226 able to access the Database server. To learn how to configure this 227 connection and how to create this database please refer to :ref:`[1] 228 <zoo_activate_db_backend>` and :ref:`[2] <zoo_create_db_backend>` 229 respectively. 223 230 224 231 .. note:: … … 231 238 232 239 240 241 GDAL Support (Required) 242 ************************ 243 244 If gdal-config program is not found in your ``PATH``, a 245 ``--with-gdal-config`` option can be used to specify its location. For 246 instance, if ``gdal-config`` lies in ``/usr/local/bin`` which is not in 247 your PATH, you may use the following command: 248 249 :: 250 251 $ ./configure --with-gdal-config=/usr/local/bin/gdal-config 252 253 XML2 Support (Required) 254 ************************ 255 256 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: 257 258 :: 259 260 $ ./configure --with-xml2config=/usr/local/bin/xml2-config 261 233 262 Python Support (Optional) 234 .............................................. 263 ************************** 235 264 236 265 The ``--with-python=yes`` option is required to activate the :ref:`kernel_index` Python support, using the following command: … … 251 280 252 281 Python Version 253 ************** 282 ############## 254 283 255 284 If multiple Python versions are available and you want to use a … … 263 292 264 293 PHP Support (Optional) 265 .............................................. 294 *********************** 266 295 267 296 The ``--with-php=yes`` option is required to activate the … … 285 314 286 315 Perl Support (Optional) 287 .............................................. 316 ************************ 288 317 289 318 The ``--with-perl=yes`` option can be used for activating the … … 305 334 306 335 Java Support (Optional) 307 .............................................. 336 ************************ 308 337 309 338 In order to activate the Java support for ZOO-Kernel, the … … 335 364 336 365 JavaScript Support (Optional) 337 .............................................. 366 ****************************** 338 367 339 368 In order to activate the JavaScript support for ZOO-Kernel, … … 361 390 362 391 MapServer Support (Optional) 363 .............................................. 392 ***************************** 364 393 365 394 … … 378 407 379 408 Orfeo Toolbox Support (Optional) 380 ..................................................... 409 ********************************* 381 410 382 411 In order to activate the optional Orfeo Toolbox support, the … … 397 426 398 427 SAGA GIS Support (Optional) 399 ..................................................... 428 **************************** 400 429 401 430 -
branches/PublicaMundi_David-devel/docs/kernel/configuration.rst
r710 r713 2 2 3 3 ZOO-Kernel configuration 4 ================= 4 ======================== 5 5 6 6 Main configuration file … … 166 166 For instance, adding the following in the Service source code : 167 167 168 .. code -block:: python168 .. code:: python 169 169 170 170 conf["lenv"]["cookie"]="XXX=XXX1000000; path=/" … … 176 176 value stored before the Service execution. 177 177 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 180 Database section 181 ............................... 182 183 The database section allows to configure the 184 :ref:`ZOO-Kernel optional database support <zoo_install_db_backend>`. 184 185 185 186 .. code-block:: guess … … 193 194 schema=public 194 195 195 This will generate strings to be passed to GDAL: 196 197 .. code-block:: 196 This will generate strings to be passed to GDAL to connect the 197 database server: 198 199 .. code-block:: guess 198 200 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 204 With 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 212 To create a new database to be used by the ZOO-Kernel, you have 213 to load the `schema.sql 214 <http://zoo-project.org/trac/browser/trunk/zoo-project/zoo-kernel/sql/schema.sql>`_ 215 file. 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 204 231 205 232
Note: See TracChangeset
for help on using the changeset viewer.