Instalação do servidor MapServer

Da GeoBox

Instalação do MapServer

A instalação do MapServer, a partir do ubuntugis-unstable consiste em:

sudo apt-get install libhdf4-doc libhdf4-alt-dev hdf4-tools ogdi-bin
sudo apt-get install cgi-mapserver libmapscript-ruby libmapscript-ruby1.9.1 mapserver-bin mapserver-doc perl-mapscript php5-mapscript python-mapscript

Testar o MapServer

/usr/lib/cgi-bin/mapserv -v

Retorna um conjunto de informações sobre o MapServer:

MapServer version 5.6.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

Abrir o seguinte URL:

http://localhost/cgi-bin/mapserv

Retorna a mensagem:

No query information to decode. QUERY_STRING is set, but empty.

Anterior: Instalação de software Desktop Seguinte: Instalação do servidor GeoServer

Ferramentas pessoais