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

Dec 17, 2010, 12:04:19 AM (10 years ago)

Test using lineno


  • ZooDocumentation/ZOOKernel/CentOS_installation

    v1 v1  
     1= !HowTo Install ZOO-Kernel on CentOS 5.5 =
     3== Requirements ==
     5Installing some standard tools to be able to run ZOO-Kernel on your platform :
     9yum install apache2
     10yum install build-essentials
     11yum install gcc-c++
     12yum install zlib-devel
     13yum install libxml2-devel
     14yum install bison
     15yum install openssl
     16yum install python-devel
     17yum install subversion
     20Compile then install FastCGI library from source
     25tar xzf fcgi-2.4.0.tar.gz
     28make install
     29echo /usr/local/lib >> /etc/
     33Compile then install the autoconf tools :
     37tar xzf autoconf-latest.tar.gz
     38./configure --prefix=/usr
     40make install
     43Compile then install the flex tool :
     47tar xzf flex-2.5.35.tar.gz
     48cd flex-2.5.35
     49./configure --prefix=/usr
     51make install
     54Using the curl providen in the CentOS distribution will produce ZOO-Kernel unable to run any Service. Indeed, some segmentation fault occurs when trying to run Execute request on the ZOO-Kernel, compiling the ZOO-Kernel seting USE_GDB flag in the CFLAGS of your Makefile will let you run ZOO-Kernel from gdb and be able to get more information on what is
     58tar xjf curl-7.21.3.tar.bz2
     59cd curl-7.21.3
     60./configure --prefix=/usr
     62make install
     65Compile then install Python :
     70tar xjf Python-2.6.6.tar.bz2
     71cd Python-2.6.6
     74make install
     78Compile then install your own GDAL library :
     83tar xzf gdal-1.7.3.tar.gz
     84cd gdal-1.7.3
     85./configure  # add your options here
     87make install
     90Install the Sun JAVA SDK into {{{/usr/share}}} then use the following command to ensure that the {{{}}} will be found at runtime from any context.
     93echo /usr/share/java-1.6.0-openjdk- >> /etc/
     97== Compile ZOO-Kernel and ZOO-Services ==
     99Compile then install ZOO-Kernel and your first ZOO-Services.
     101First of all, compile the cgic library providen in the SVN source tree:
     104svn co zoo-project
     105cd zoo-project/thirds/cgic206
     109Compile then install ZOO-Kernel.
     112cd ../../zoo-kernel
     113./configure --with-java=/usr/share/jdk1.6.0_23/ --with-python
     114make zoo_loader.cgi
     115cp main.cfg /var/www/cgi-bin/
     116cp  zoo_loader.cgi /var/www/cgi-bin/
     119Compile then deploy your first ZOO-!ServicesProviders (simple !HelloPy and the OGR base-vect-ops !ServiceProvider):
     123cp ../zoo-services/hello-py/cgi-env/*.zcfg /var/www/cgi-bin/
     124cp ../zoo-services/hello-py/ /var/www/cgi-bin/
     125cd ../ogr/base-vect-ops/
     127cp ./cgi-env/* /var/www/cgi-bin/
     128vi /var/www/cgi-bin/main.cfg --> set your own informations here
     131To ensure that the will be found from apache, please restart it :
     135/etc/init.d/httpd restart
     137Testing your ZOO-Kernel.
     141cd /var/www/cgi-bin
     142./zoo_loder.cgi "request=Execute&service=WPS&version=1.0.0&Identifier=HelloPy&DataInputs=a=Djay"
     143./zoo_loader.cgi "request=Execute&service=WPS&version=1.0.0&Identifier=Buffer&DataInputs=BufferDistance=1@datatype=interger;"


Context Navigation

ZOO Sponsors

Become a sponsor !

Knowledge partners

Become a knowledge partner

Related links