You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 20 Next »

Intro

ADAGUC is a WMS-based implementation, made by KNMI.
For more information on ADAGUC please visit KNMI's ADAGUC pages http://dev.knmi.nl/projects/adaguc
ADAGUC consists of

  • a server part
  • a client/viewer part

This Tech Note describes how to setup ADAGUC on CentOS 6.4 Linux.

ADAGUC Server setup

CentOS (http://www.centos.org) is based on the same sources as Red Hat Enterprise Linux.
KNMI describes installation on Red Hat Linux here: http://dev.knmi.nl/projects/adagucserver/wiki/Installation
This recipe has been followed. In short it is repeated here.
Note: unless otherwise stated, the commands are (Bash) shell commands.

Setup prerequisites
  • Verify yum configuration for EPEL repository:

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a7541618-d5d8-4dca-812c-b63fc28f0ae0"><ac:plain-text-body><![CDATA[

    [mylocalhost]# yum repolist

    ]]></ac:plain-text-body></ac:structured-macro>

  • Install from EPEL repository (compiling netcdf and hdf5 is not needed in this case):

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a4eb08f0-3ea6-4f2e-8b6a-1a4c8bcc0fbe"><ac:plain-text-body><![CDATA[

    [mylocalhost]# yum install gcc gcc-c++ mercurial libpng-devel zlib-devel libxml2-devel gd-devel netcdf-devel hdf5-devel proj-devel postgresql-devel udunits2-devel gdal-devel cairo-devel httpd postgresql-server

    ]]></ac:plain-text-body></ac:structured-macro>

Note: somehow this install was not completed successfully because later on the compiler complained about missing dependencies. I just re-executed this yum install (with all packges listed) and after that all worked fine.

Compile ADAGUC server
  • Setup a directory structure for ADAGUC in /opt:

    /opt/adagucviewer

    stores ADAGUC client/viewer related files and components

    /opt/services

    stores ADAGUC server runtime related configuration, logs and optionally data

    /opt/software

    tree with ADAGUC server source files; should not be present on a production environment

CentOS has a default Apache installation and this will be used for ADAGUC. Hence all files and directories involved are assigned explicitly to OS user apache and OS group apache (apache:apache).

  • get ADAGUC server source components from KNMI's Mercurial repository:

    <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="613462f1-c517-4284-a5a2-4c542de4d038"><ac:plain-text-body><![CDATA[

    [mylocalhost]# hg clone \"http://dev.knmi.nl/hg/adagucserver\" /opt/adaguc/software

    ]]></ac:plain-text-body></ac:structured-macro>

  • No labels