Difference between revisions of "MapServer at AdhocVM"

From OSGeo
Jump to navigation Jump to search
Line 44: Line 44:
* Home: http://demo.mapserver.org/tutorial/
* Home: http://demo.mapserver.org/tutorial/
* Administrator: jmckenna
* Administrator: jmckenna
=== World Blue Marble ===
* Simple blue marble world WMS service with a latlong and mercator layer.  Used by MSAutoTest
* On Disk: /osgeo/mapserver/msautotest/world
* On Web: http://demo.mapserver.org/cgi-bin/mapserv?map=/osgeo/mapserver/msautotest/world/world.map
* Administrator: Frank Warmerdam

Revision as of 11:45, 29 September 2010


Server Overview


  • 2010-09-28 mapserver tutorial configured
  • 2010-09-23 mapserver installed through FGS


MapServer Installation on AdhocVM

  • MapServer 5.6.5 through FGS
  • home: /osgeo/mapserver/fgs/

Apache Configuration

A virtualhost is setup for demo.mapserver.org, through:

  • /etc/apache2/sites_available/demo.mapserver.org
    • to enable the virtualhost, the following command was used:
   /usr/sbin/a2ensite demo.mapserver.org

Note that a proxy is setup to use the FGS Apache

  • server logfiles live at:
   ErrorLog /var/log/apache2/demo.mapserver.org-error_log
   CustomLog /var/log/apache2/demo.mapserver.org-access_log combined

Restarting FGS Apache

  • set the FGS environment, in /osgeo/mapserver/fgs/ execute the command:
   . setenv.sh
  • then execute:
   fgs stop ; fgs start

Adding Apache Aliases

  • see examples in /osgeo/mapserver/fgs/www/conf.d/

Services on the AdhocVM

For each service you configure on demo.mapserver.org, please edit /osgeo/mapserver/fgs/www/htdocs/index.html and list your new service.

MapServer Tutorial

World Blue Marble