Difference between revisions of "MapServer at AdhocVM"

From OSGeo
Jump to navigation Jump to search
Line 11: Line 11:
== Participants ==
== Participants ==
* [[User:Jmckenna | Jeff McKenna]]
* [[User:Jmckenna | Jeff McKenna]]
* Frank Warmerdam
== MapServer Installation on AdhocVM  ==
== MapServer Installation on AdhocVM  ==

Revision as of 11:43, 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