Changeset 749 for trunk/docs
- Timestamp:
- Jan 5, 2016, 9:05:54 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/install/centos.rst
r725 r749 9 9 ---------------------- 10 10 11 First you should add the `ELGIS Repository <http://elgis.argeo.org>`__ then install the 12 dependencies by using `yum` commands. 13 11 14 .. code-block:: guess 12 15 13 yum install apache2 14 yum install build-essentials 15 yum install gcc-c++ 16 yum install zlib-devel 17 yum install libxml2-devel 18 yum install bison 19 yum install openssl 20 yum install python-devel 21 yum install subversion 16 rpm -Uvh http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm 17 rpm -Uvh \ 18 http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm 19 wget\ 20 http://proj.badc.rl.ac.uk/cedaservices/raw-attachment/ticket/670/armadillo-3.800.2-1.el6.x86_64.rpm 21 yum install armadillo-3.800.2-1.el6.x86_64.rpm 22 yum install hdf5.so.6 23 yum install gcc-c++ zlib-devel libxml2-devel bison openssl \ 24 python-devel subversion libxslt-devel libcurl-devel \ 25 gdal-devel proj-devel libuuid-devel openssl-devel fcgi-devel 26 yum install java-1.7.0-openjdk-devel 22 27 23 28 … … 25 30 ---------------------- 26 31 27 Compile then install FastCGI library from source 32 Now refer to general instructions from :ref:`install-installation` to 33 setup your ZOO-Kernel and the ZOO-Services of your choice. 28 34 29 :: 35 .. note:: 36 In case you use the Java support, please, make sure to use the 37 correct version of both java and javac using the following 38 commands: 39 40 .. code-block:: guess 41 42 update-alternatives --config java 43 update-alternatives --config javac 30 44 31 wget http://www.fastcgi.com/dist/fcgi.tar.gz32 tar xzf fcgi-2.4.0.tar.gz33 ./configure34 make35 make install36 echo /usr/local/lib >> /etc/ld.so.conf.d/local.conf37 ldconfig38 39 Compile then install the autoconf tools :40 41 ::42 43 wget http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz44 tar xzf autoconf-latest.tar.gz45 ./configure --prefix=/usr46 make47 make install48 49 Compile then install the flex tool :50 51 ::52 53 wget http://downloads.sourceforge.net/project/flex/flex/flex-2.5.35/flex-2.5.35.tar.gz?r=http%3A%2F%2Fflex.sourceforge.net%2F&ts=1292529005&use_mirror=switch54 tar xzf flex-2.5.35.tar.gz55 cd flex-2.5.3556 ./configure --prefix=/usr57 make58 make install59 60 Using the curl provided in the CentOS distribution will produce a ZOO-Kernel unable to run any61 Service. Indeed, some segmentation faults occur when trying to run ``Execute`` requests on the ZOO-Kernel,62 compiling the ZOO-Kernel setting ``USE_GDB`` flag in the ``CFLAGS`` of your ``Makefile`` will let you run63 ZOO-Kernel from gdb and be able to get more information on what is going wrong with your ZOO-Kernel.64 Doing this we can figure out that code on `line 173 <http://zoo-project.org/trac/browser/trunk/zoo-kernel/ulinet.c#L173>`__65 and `line 175 <http://zoo-project.org/trac/browser/trunk/zoo-kernel/ulinet.c#L175>`__ have to be commented in the66 ``ulinet.c`` file to get a ZOO-Kernel working using the curl available in CentOS (curl version 7.15.5).67 If you don't apply the modification, you will get an error from a gdb session pointing68 segfault in ``Curl_cookie_clearall``.69 70 You can optionally compile then install curl from source :71 72 ::73 74 wget http://curl.haxx.se/download/curl-7.21.3.tar.bz275 tar xjf curl-7.21.3.tar.bz276 cd curl-7.21.377 ./configure --prefix=/usr78 make79 make install80 81 Compile then install Python :82 83 ::84 85 wget http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tar.bz286 tar xjf Python-2.6.6.tar.bz287 cd Python-2.6.688 ./configure89 make90 make install91 92 Compile then install your own GDAL library :93 94 ::95 96 wget http://download.osgeo.org/gdal/gdal-1.7.3.tar.gz97 tar xzf gdal-1.7.3.tar.gz98 cd gdal-1.7.399 ./configure # add your options here100 make101 make install102 103 Install the Sun JAVA SDK into ``/usr/share`` then use the following command to ensure that the ``libjvm.so``104 will be found at runtime from any context.105 106 ::107 108 echo /usr/share/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client/ >> /etc/ld.so.conf.d/jvm.conf109 ldconfig110
Note: See TracChangeset
for help on using the changeset viewer.