Changes between Initial Version and Version 1 of ZooDocumentation/ZOOKernel/DebianLike_installation


Ignore:
Timestamp:
Apr 21, 2010, 5:06:30 PM (14 years ago)
Author:
lucadelu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ZooDocumentation/ZOOKernel/DebianLike_installation

    v1 v1  
     1= Ubuntu 10.04 =
     2
     3#install some dependencies[[BR]]
     4sudo apt-get install flex bison libfcgi-dev libxml2 curl openssl autoconf checkinstall
     5
     6#download zoo source[[BR]]
     7svn checkout http://svn.zoo-project.org/svn/trunk zoo-project
     8
     9#install cgic from packages[[BR]]
     10cd zoo-project/thirds/cgic206/
     11
     12#change the path of installation[[BR]]
     13nano Makefile
     14* LIBS=-L./ -lcgic ../fcgi-2.4.0/libfcgi/.libs/libfcgi.a --> LIBS=/path/to/libfcgi.a
     15* cp libcgic.a  ../../dist/lib --> cp libcgic.a /usr/lib
     16* cp cgic.h  ../../dist//include --> cp cgic.h  /usr/include
     17* @echo libcgic.a is in  ../../dist/lib and cgic.h is in  ../../dist//include. --> @echo libcgic.a is in  /usr/lib and cgic.h is in /usr/include.
     18
     19#compile[[BR]]
     20make
     21
     22#install, I prefer use checkinstall for have a simple remove in the future[[BR]]
     23sudo make install or better sudo checkinstall -D
     24
     25#go to kernel path[[BR]]
     26cd ../../zoo-kernel/
     27
     28#create configure file[[BR]]
     29autoconf
     30
     31#run configure, in ubuntu 10.04 there isn't libmozjs-dev, for use js it must compile SpinderMonkey, for use the php read [wiki:ZooKernel/Embed/PHP#ConfigureandInstallPHPEmbedlibrary][[BR]]
     32./configure --with-php=no --with-java=/path/to/java
     33
     34#compile[[BR]]
     35make zoo_loader.cgi
     36
     37#copy all the file inside the path of cgi-bin[[BR]]
     38sudo cp main.cfg /usr/lib/cgi-bin
     39
     40sudo cp zoo_loader.cgi /usr/lib/cgi-bin
     41
     42# Install ZOO ServiceProvider[[BR]]
     43sudo cp ../zoo-services/hello-py/cgi-env/*.zcfg /usr/lib/cgi-bin
     44
     45sudo cp ../zoo-services/hello-py/*.py /usr/lib/cgi-bin/
     46
     47#try the installation[[BR]]
     48http://127.0.0.1/cgi-bin/zoo_loader.cgi?ServiceProvider=&metapath=&Service=WPS&Request=GetCapabilities&Version=1.0.0 [[BR]]
     49http://127.0.0.1/cgi-bin/zoo_loader.cgi?ServiceProvider=&metapath=&Service=WPS&Request=DescribeProcess&Version=1.0.0&Identifier=HelloPy [[BR]]
     50http://127.0.0.1/cgi-bin/zoo_loader.cgi?ServiceProvider=&metapath=&Service=WPS&Request=Execute&Version=1.0.0&Identifier=HelloPy&DataInputs=a=luca

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