Difference between revisions of "MapServer at AdhocVM"

From OSGeo
Jump to navigation Jump to search
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
''this page is OUTDATED: see instead: https://wiki.osgeo.org/wiki/MapServer_at_osgeo7''
 +
 +
 +
 
== Startpage ==
 
== Startpage ==
* http://demo.mapserver.org
+
* https://old.demo.mapserver.org
  
 
== Server Overview==
 
== Server Overview==
 
* [[AdhocVM]]
 
* [[AdhocVM]]
 +
** actually a container on [[SAC_Service_Status|osgeo7]] (as of 2019-05-11)
  
 
== Status ==
 
== Status ==
 +
* 2021-11-07
 +
** @Robe pointed demo.mapserver.org to new osgeo7 'mapserver' VM, and this old-adhoc VM to old.demo.mapserver.org
 +
* 2021-05-16
 +
** jmckenna restarted Apache (machine was rebooted and Apache not started)
 +
* 2021-01-01
 +
** jmckenna restarted Apache (machine was rebooted and Apache not started)
 +
* 2020-10-27
 +
** jmckenna restarted Apache (machine was rebooted and Apache not started)
 +
* 2020-04-20
 +
** jmckenna restarted Apache (machine was rebooted and Apache not started)
 +
* 2020-04-05
 +
** jmckenna
 +
*** upgraded cmake to 3.9.6
 +
*** upgraded to MapServer 7.4.4
 +
* 2020-03-21
 +
** jmckenna restarted Apache (machine was rebooted and Apache not started)
 +
* 2020-03-14
 +
** jmckenna
 +
*** updated tutorial for MapServer 7.4.3
 +
*** upgraded OpenSSL to 1.1.1d, and rebuilt mapserv 7.4.3 with KML output
 +
* 2020-02-29
 +
** jmckenna restarted Apache services
 +
*** upgraded mapserv to 7.4.3
 +
*** updated /osgeo/mapserver/msautotest/world/world.map  for MapServer 7+
 +
* 2019-11-21 built mapserv74 CGI for demo.mapserver.org
 +
* 2019-05-12 demo.mapserver.org/geocache not accessible (this serves the OSM tiles on the mapserver.org homepage), as old machine shut down.
 +
** jmckenna restarted its Apache service
 +
** robe proxied to 8081/geocache
 +
* 2019-05-11 demo.mapserver.org not accessible, as old machine shut down.
 +
** robe opened the domain through nginx
 +
** jmckenna restarted FGS Apache service
 
* 2014-05-28 changed postgres port from 5432 to 5433
 
* 2014-05-28 changed postgres port from 5432 to 5433
 
* 2010-09-28 mapserver tutorial configured
 
* 2010-09-28 mapserver tutorial configured
Line 15: Line 51:
  
 
== MapServer Installation on AdhocVM  ==
 
== MapServer Installation on AdhocVM  ==
 +
* MapServer 7.4 statically compiled
 
* MapServer 5.6.5 through [http://www.maptools.org/fgs/ FGS]
 
* MapServer 5.6.5 through [http://www.maptools.org/fgs/ FGS]
* home: ''/osgeo/mapserver/fgs/''
+
* *home: ''/osgeo/mapserver/fgs/''
  
 
=== Apache Configuration ===
 
=== Apache Configuration ===
Line 35: Line 72:
 
     fgs stop ; fgs start
 
     fgs stop ; fgs start
  
(you may get 'pg_ctl: Permission denied' errors that you can ignore, as Apache should start anyway)
+
(if you get 'pg_ctl' errors, verify proper ownership of the folder: /osgeo/mapserver/fgs/apps/pgsql/ )
  
 
=== Adding Apache Aliases ===
 
=== Adding Apache Aliases ===
Line 43: Line 80:
 
For each service you configure on demo.mapserver.org, please edit ''/osgeo/mapserver/fgs/www/htdocs/index.html'' and list your new service.
 
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 (v5.x) ===
+
=== MapServer Tutorial (7.4.3) ===
  
 
* This is a MapServer CGI instance, serving data files for the MapServer Tutorial at: http://www.mapserver.org/tutorial/
 
* This is a MapServer CGI instance, serving data files for the MapServer Tutorial at: http://www.mapserver.org/tutorial/
 
* On Disk: /osgeo/mapserver/tutorial/
 
* On Disk: /osgeo/mapserver/tutorial/
* On Web: http://demo.mapserver.org/tutorial/
+
* On Web: https://demo.mapserver.org/tutorial/
 
* Administrator: jmckenna
 
* Administrator: jmckenna
  
Line 54: Line 91:
 
* Simple blue marble world WMS service with a latlong and mercator layer.  Used by MSAutoTest
 
* Simple blue marble world WMS service with a latlong and mercator layer.  Used by MSAutoTest
 
* On Disk: /osgeo/mapserver/msautotest/world
 
* On Disk: /osgeo/mapserver/msautotest/world
* On Web: http://demo.mapserver.org/cgi-bin/mapserv?map=/osgeo/mapserver/msautotest/world/world.map
+
* On Web: https://demo.mapserver.org/cgi-bin/mapserv?map=/osgeo/mapserver/msautotest/world/world.map
 
* Administrator: Frank Warmerdam
 
* Administrator: Frank Warmerdam
  
Line 61: Line 98:
 
* Small mapfile serving a raster file, and a single point, line, and poly file.  Used in the MapServer docs.
 
* Small mapfile serving a raster file, and a single point, line, and poly file.  Used in the MapServer docs.
 
* On Disk: /osgeo/mapserver/ogc-demos/map/wms.map
 
* On Disk: /osgeo/mapserver/ogc-demos/map/wms.map
* On Web: [http://demo.mapserver.org/cgi-bin/wms? http://demo.mapserver.org/cgi-bin/wms?]
+
* On Web: [https://demo.mapserver.org/cgi-bin/wms? https://demo.mapserver.org/cgi-bin/wms?]
 
* Administrator: jmckenna
 
* Administrator: jmckenna
  
Line 68: Line 105:
 
* Small mapfile serving an 8bit landsat image and a 16bit landsat image, used in the SLD doc.
 
* Small mapfile serving an 8bit landsat image and a 16bit landsat image, used in the SLD doc.
 
* On Disk: /osgeo/mapserver/ogc-demos/map/wms-raster.map
 
* On Disk: /osgeo/mapserver/ogc-demos/map/wms-raster.map
* On Web: [http://demo.mapserver.org/cgi-bin/wms_landsat? http://demo.mapserver.org/cgi-bin/wms_landsat?]
+
* On Web: [https://demo.mapserver.org/cgi-bin/wms_landsat? https://demo.mapserver.org/cgi-bin/wms_landsat?]
 
* Administrator: jmckenna
 
* Administrator: jmckenna
  
Line 75: Line 112:
 
* Small mapfile serving a point and polygon shapefile.  Used in the MapServer docs.
 
* Small mapfile serving a point and polygon shapefile.  Used in the MapServer docs.
 
* On Disk: /osgeo/mapserver/ogc-demos/map/wfs.map
 
* On Disk: /osgeo/mapserver/ogc-demos/map/wfs.map
* On Web: [http://demo.mapserver.org/cgi-bin/wfs? http://demo.mapserver.org/cgi-bin/wfs?]
+
* On Web: [https://demo.mapserver.org/cgi-bin/wfs? https://demo.mapserver.org/cgi-bin/wfs?]
 
* Administrator: jmckenna
 
* Administrator: jmckenna
  
Line 82: Line 119:
 
* Minnesota DNR demo, includes MODIS and NDVI imagery.  Used in the MapServer docs.
 
* Minnesota DNR demo, includes MODIS and NDVI imagery.  Used in the MapServer docs.
 
* On Disk: /osgeo/mapserver/ogc-demos/map/wcs.map
 
* On Disk: /osgeo/mapserver/ogc-demos/map/wcs.map
* On Web: [http://demo.mapserver.org/cgi-bin/wcs? http://demo.mapserver.org/cgi-bin/wcs?]
+
* On Web: [https://demo.mapserver.org/cgi-bin/wcs? https://demo.mapserver.org/cgi-bin/wcs?]
 
* Administrator: jmckenna
 
* Administrator: jmckenna
  
Line 89: Line 126:
 
* Small examples of OGR formats used in MapServer.  Used in the MapServer docs.
 
* Small examples of OGR formats used in MapServer.  Used in the MapServer docs.
 
* On Disk: /osgeo/mapserver/ogr-demos/
 
* On Disk: /osgeo/mapserver/ogr-demos/
* On Web: [http://demo.mapserver.org/ogr-demos/ http://demo.mapserver.org/ogr-demos/]
+
* On Web: [https://demo.mapserver.org/ogr-demos/ https://demo.mapserver.org/ogr-demos/]
 
* Administrator: jmckenna
 
* Administrator: jmckenna
  
Line 97: Line 134:
 
* On Disk: /osgeo/mapserver/osm/map/osm.map
 
* On Disk: /osgeo/mapserver/osm/map/osm.map
 
* Port: 5433
 
* Port: 5433
* On Web: [http://demo.mapserver.org/cgi-bin/foss4g? http://demo.mapserver.org/cgi-bin/foss4g?]
+
* On Web: [https://demo.mapserver.org/cgi-bin/foss4g? https://demo.mapserver.org/cgi-bin/foss4g?]
 
* Administrator: jmckenna
 
* Administrator: jmckenna
 
* mapfile styling comes from the [http://code.google.com/p/mapserver-utils/source/checkout 'mapserver-utils' project]
 
* mapfile styling comes from the [http://code.google.com/p/mapserver-utils/source/checkout 'mapserver-utils' project]
Line 110: Line 147:
 
* geocache.xml lives in:
 
* geocache.xml lives in:
 
     /osgeo/mapserver/mapcache/
 
     /osgeo/mapserver/mapcache/
* geocache demos: http://demo.mapserver.org:8081/geocache/demo/
+
* geocache demos: https://demo.mapserver.org/geocache/demo/
 
* after modifying geocache.xml, restart its Apache:  
 
* after modifying geocache.xml, restart its Apache:  
 
     sudo /osgeo/mapserver/httpd/bin/apachectl restart
 
     sudo /osgeo/mapserver/httpd/bin/apachectl restart
Line 119: Line 156:
 
* cache directory:
 
* cache directory:
 
     /osgeo/mapserver/mapcache/disk-cache
 
     /osgeo/mapserver/mapcache/disk-cache
* viewing seed levels: http://demo.mapserver.org:8081/geocache/tms1.0.0/osm-denver@osmgrid/
+
* viewing seed levels: https://demo.mapserver.org/geocache/tms1.0.0/osm-denver@osmgrid/
  
 
=== HTML Legend Examples (for Documentation) ===
 
=== HTML Legend Examples (for Documentation) ===
Line 125: Line 162:
 
* Small examples of HTML Legends used in MapServer.  Used in the MapServer docs.
 
* Small examples of HTML Legends used in MapServer.  Used in the MapServer docs.
 
* On Disk: /osgeo/mapserver/itasca_legend/
 
* On Disk: /osgeo/mapserver/itasca_legend/
* On Web: [http://demo.mapserver.org/itasca_legend/ http://demo.mapserver.org/itasca_legend/]
+
* On Web: [https://demo.mapserver.org/itasca_legend/ https://demo.mapserver.org/itasca_legend/]
 
* Administrator: jmckenna
 
* Administrator: jmckenna
  
 
=== MapServer 7.x CGI ===
 
=== MapServer 7.x CGI ===
  
''current version installed: 7.0.6''
+
==== 7.6-dev ====
 +
 
 +
* A statically compiled "mapserv76" CGI has been compiled to support the V7+ tutorial. This is a static build so it has no external dependency.
 +
* Web URL: https://demo.mapserver.org/cgi-bin/mapserv76
 +
* Source build in /osgeo/mapserver/mapserver-git-branch-7-6/build
 +
* Administrators: jmckenna
 +
* build instructions for reference:
 +
 
 +
$ cd /osgeo/mapserver/
 +
$ git clone -b branch-7-6 https://github.com/mapserver/mapserver.git mapserver-git-branch-7-6
 +
$ cd mapserver-git-branch-7-6
 +
$ mkdir build
 +
$ cd build
 +
$ cmake .. -DWITH_CLIENT_WMS=1 -DWITH_CLIENT_WFS=1 -DWITH_SOS=1 -DWITH_WCS=1 -DWITH_WMS=1 -DWITH_WFS=1 -DWITH_FCGI=0 -DWITH_PROJ=1 -DWITH_GDAL=1 -DWITH_OGR=1 -DUSE_POINT_Z_M=1 -DWITH_PIXMAN=0 -DLINK_STATIC_LIBMAPSERVER=1 -DWITH_PYTHON=0 -DWITH_FRIBIDI=0 -DWITH_HARFBUZZ=0 -DWITH_CAIRO=0 -DWITH_FCGI=0 -DWITH_PROTOBUFC=0 -DWITH_KML=1
 +
$ make
 +
$ cp /osgeo/mapserver/mapserver-git-branch-7-6/build/mapserv /osgeo/mapserver/fgs/www/cgi-bin/mapserv76
 +
$ cp /osgeo/mapserver/mapserver-git-branch-7-6/build/mapserv /osgeo/mapserver/fgs/www/cgi-bin/mapserv
 +
 
 +
==== 7.4.4 ====
 +
 
 +
* A statically compiled "mapserv74" CGI has been compiled to support the V7+ tutorial. This is a static build so it has no external dependency.
 +
* Web URL: https://demo.mapserver.org/cgi-bin/mapserv74
 +
* Source build in /osgeo/mapserver/mapserver-git-branch-7-4/build
 +
* Administrators: jmckenna
 +
* build instructions for reference:
 +
 
 +
$ cd /osgeo/mapserver/
 +
$ git clone -b branch-7-4 https://github.com/mapserver/mapserver.git mapserver-git-branch-7-4
 +
$ cd mapserver-git-branch-7-4
 +
$ mkdir build
 +
$ cd build
 +
$ cmake .. -DWITH_CLIENT_WMS=1 -DWITH_CLIENT_WFS=1 -DWITH_SOS=1 -DWITH_WCS=1 -DWITH_WMS=1 -DWITH_WFS=1 -DWITH_FCGI=0 -DWITH_PROJ=1 -DWITH_GDAL=1 -DWITH_OGR=1 -DUSE_POINT_Z_M=1 -DWITH_PIXMAN=0 -DLINK_STATIC_LIBMAPSERVER=1 -DWITH_PYTHON=0 -DWITH_FRIBIDI=0 -DWITH_HARFBUZZ=0 -DWITH_CAIRO=0 -DWITH_FCGI=0 -DWITH_PROTOBUFC=0 -DWITH_KML=1
 +
$ make
 +
$ cp /osgeo/mapserver/mapserver-git-branch-7-4/build/mapserv /osgeo/mapserver/fgs/www/cgi-bin/mapserv74
 +
$ cp /osgeo/mapserver/mapserver-git-branch-7-4/build/mapserv /osgeo/mapserver/fgs/www/cgi-bin/mapserv
 +
 
 +
==== 7.0.6 ====
  
 
* A statically compiled "mapserv70" CGI has been compiled to support the V7+ tutorial. This is a static build so it has no external dependency.
 
* A statically compiled "mapserv70" CGI has been compiled to support the V7+ tutorial. This is a static build so it has no external dependency.
* Web URL: http://demo.mapserver.org/cgi-bin/mapserv70
+
* Web URL: https://demo.mapserver.org/cgi-bin/mapserv70
 
* Source build in /osgeo/mapserver/mapserver-git-branch-7-0/build
 
* Source build in /osgeo/mapserver/mapserver-git-branch-7-0/build
* Note that this binary has to be installed under the FGS server's /osgeo/mapserver/fgs/www/cgi-bin/ directory since that's where the http://demo.mapserver.org/cgi-bin/ points to
+
* Note that this binary has to be installed under the FGS server's /osgeo/mapserver/fgs/www/cgi-bin/ directory since that's where the https://demo.mapserver.org/cgi-bin/ points to
 
* Administrators: dmorissette / jmckenna
 
* Administrators: dmorissette / jmckenna
 
* build instructions for reference:
 
* build instructions for reference:

Latest revision as of 07:17, 8 November 2021

this page is OUTDATED: see instead: https://wiki.osgeo.org/wiki/MapServer_at_osgeo7


Startpage

Server Overview

Status

  • 2021-11-07
    • @Robe pointed demo.mapserver.org to new osgeo7 'mapserver' VM, and this old-adhoc VM to old.demo.mapserver.org
  • 2021-05-16
    • jmckenna restarted Apache (machine was rebooted and Apache not started)
  • 2021-01-01
    • jmckenna restarted Apache (machine was rebooted and Apache not started)
  • 2020-10-27
    • jmckenna restarted Apache (machine was rebooted and Apache not started)
  • 2020-04-20
    • jmckenna restarted Apache (machine was rebooted and Apache not started)
  • 2020-04-05
    • jmckenna
      • upgraded cmake to 3.9.6
      • upgraded to MapServer 7.4.4
  • 2020-03-21
    • jmckenna restarted Apache (machine was rebooted and Apache not started)
  • 2020-03-14
    • jmckenna
      • updated tutorial for MapServer 7.4.3
      • upgraded OpenSSL to 1.1.1d, and rebuilt mapserv 7.4.3 with KML output
  • 2020-02-29
    • jmckenna restarted Apache services
      • upgraded mapserv to 7.4.3
      • updated /osgeo/mapserver/msautotest/world/world.map for MapServer 7+
  • 2019-11-21 built mapserv74 CGI for demo.mapserver.org
  • 2019-05-12 demo.mapserver.org/geocache not accessible (this serves the OSM tiles on the mapserver.org homepage), as old machine shut down.
    • jmckenna restarted its Apache service
    • robe proxied to 8081/geocache
  • 2019-05-11 demo.mapserver.org not accessible, as old machine shut down.
    • robe opened the domain through nginx
    • jmckenna restarted FGS Apache service
  • 2014-05-28 changed postgres port from 5432 to 5433
  • 2010-09-28 mapserver tutorial configured
  • 2010-09-23 mapserver installed through FGS

Participants

MapServer Installation on AdhocVM

  • MapServer 7.4 statically compiled
  • 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 point to the FGS Apache which is running on port 8080

  • server logfiles live at:
   ErrorLog /var/log/apache2/demo.mapserver.org-error_log
   CustomLog /var/log/apache2/demo.mapserver.org-access_log combined
  • mapserv and other CGI binaries are in the FGS environment: /osgeo/mapserver/fgs/www.cgi-bin

Restarting FGS Apache

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

(if you get 'pg_ctl' errors, verify proper ownership of the folder: /osgeo/mapserver/fgs/apps/pgsql/ )

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 (7.4.3)

World Blue Marble

WMS Service (for Documentation)

  • Small mapfile serving a raster file, and a single point, line, and poly file. Used in the MapServer docs.
  • On Disk: /osgeo/mapserver/ogc-demos/map/wms.map
  • On Web: https://demo.mapserver.org/cgi-bin/wms?
  • Administrator: jmckenna

WMS Landsat7 Service (for Documentation)

WFS Service (for Documentation)

  • Small mapfile serving a point and polygon shapefile. Used in the MapServer docs.
  • On Disk: /osgeo/mapserver/ogc-demos/map/wfs.map
  • On Web: https://demo.mapserver.org/cgi-bin/wfs?
  • Administrator: jmckenna

WCS Service (for Documentation)

  • Minnesota DNR demo, includes MODIS and NDVI imagery. Used in the MapServer docs.
  • On Disk: /osgeo/mapserver/ogc-demos/map/wcs.map
  • On Web: https://demo.mapserver.org/cgi-bin/wcs?
  • Administrator: jmckenna

OGR Examples (for Documentation)

WMS OpenStreetMap Service (for Documentation)

  • OSM data for Colorado loaded into PostgreSQL database, served by MapServer. Used in the MapServer OpenLayers app on main site.
  • On Disk: /osgeo/mapserver/osm/map/osm.map
  • Port: 5433
  • On Web: https://demo.mapserver.org/cgi-bin/foss4g?
  • Administrator: jmckenna
  • mapfile styling comes from the 'mapserver-utils' project
    • 'default.style' was used because there were errors with 'mapserver.style'
  • To log into the 'osm' database:
    • cd /osgeo/mapserver/fgs
    • . setenv.sh
    • psql -U postgres -d osm -p 5433
      • password for postgres user is postgres

Caching for mapserver.org OpenLayers viewer

  • geocache.xml lives in:
   /osgeo/mapserver/mapcache/
   sudo /osgeo/mapserver/httpd/bin/apachectl restart
  • mapfile:
   /osgeo/mapserver/osm/map/osm.map
  • seed command:
   sudo geocache_seed -c geocache.xml -t osm-denver -g osmgrid -z 0,13
  • cache directory:
   /osgeo/mapserver/mapcache/disk-cache

HTML Legend Examples (for Documentation)

MapServer 7.x CGI

7.6-dev

  • A statically compiled "mapserv76" CGI has been compiled to support the V7+ tutorial. This is a static build so it has no external dependency.
  • Web URL: https://demo.mapserver.org/cgi-bin/mapserv76
  • Source build in /osgeo/mapserver/mapserver-git-branch-7-6/build
  • Administrators: jmckenna
  • build instructions for reference:
$ cd /osgeo/mapserver/
$ git clone -b branch-7-6 https://github.com/mapserver/mapserver.git mapserver-git-branch-7-6
$ cd mapserver-git-branch-7-6
$ mkdir build
$ cd build
$ cmake .. -DWITH_CLIENT_WMS=1 -DWITH_CLIENT_WFS=1 -DWITH_SOS=1 -DWITH_WCS=1 -DWITH_WMS=1 -DWITH_WFS=1 -DWITH_FCGI=0 -DWITH_PROJ=1 -DWITH_GDAL=1 -DWITH_OGR=1 -DUSE_POINT_Z_M=1 -DWITH_PIXMAN=0 -DLINK_STATIC_LIBMAPSERVER=1 -DWITH_PYTHON=0 -DWITH_FRIBIDI=0 -DWITH_HARFBUZZ=0 -DWITH_CAIRO=0 -DWITH_FCGI=0 -DWITH_PROTOBUFC=0 -DWITH_KML=1
$ make
$ cp /osgeo/mapserver/mapserver-git-branch-7-6/build/mapserv /osgeo/mapserver/fgs/www/cgi-bin/mapserv76
$ cp /osgeo/mapserver/mapserver-git-branch-7-6/build/mapserv /osgeo/mapserver/fgs/www/cgi-bin/mapserv

7.4.4

  • A statically compiled "mapserv74" CGI has been compiled to support the V7+ tutorial. This is a static build so it has no external dependency.
  • Web URL: https://demo.mapserver.org/cgi-bin/mapserv74
  • Source build in /osgeo/mapserver/mapserver-git-branch-7-4/build
  • Administrators: jmckenna
  • build instructions for reference:
$ cd /osgeo/mapserver/
$ git clone -b branch-7-4 https://github.com/mapserver/mapserver.git mapserver-git-branch-7-4
$ cd mapserver-git-branch-7-4
$ mkdir build
$ cd build
$ cmake .. -DWITH_CLIENT_WMS=1 -DWITH_CLIENT_WFS=1 -DWITH_SOS=1 -DWITH_WCS=1 -DWITH_WMS=1 -DWITH_WFS=1 -DWITH_FCGI=0 -DWITH_PROJ=1 -DWITH_GDAL=1 -DWITH_OGR=1 -DUSE_POINT_Z_M=1 -DWITH_PIXMAN=0 -DLINK_STATIC_LIBMAPSERVER=1 -DWITH_PYTHON=0 -DWITH_FRIBIDI=0 -DWITH_HARFBUZZ=0 -DWITH_CAIRO=0 -DWITH_FCGI=0 -DWITH_PROTOBUFC=0 -DWITH_KML=1
$ make
$ cp /osgeo/mapserver/mapserver-git-branch-7-4/build/mapserv /osgeo/mapserver/fgs/www/cgi-bin/mapserv74
$ cp /osgeo/mapserver/mapserver-git-branch-7-4/build/mapserv /osgeo/mapserver/fgs/www/cgi-bin/mapserv

7.0.6

  • A statically compiled "mapserv70" CGI has been compiled to support the V7+ tutorial. This is a static build so it has no external dependency.
  • Web URL: https://demo.mapserver.org/cgi-bin/mapserv70
  • Source build in /osgeo/mapserver/mapserver-git-branch-7-0/build
  • Note that this binary has to be installed under the FGS server's /osgeo/mapserver/fgs/www/cgi-bin/ directory since that's where the https://demo.mapserver.org/cgi-bin/ points to
  • Administrators: dmorissette / jmckenna
  • build instructions for reference:
$ cd /osgeo/mapserver/
$ git clone https://github.com/mapserver/mapserver.git mapserver-git
$ cd mapserver-git/
$ git checkout branch-7-0
$ mkdir build
$ cd build
$ cmake .. -DLINK_STATIC_LIBMAPSERVER=1 -DWITH_PYTHON=0 -DWITH_FRIBIDI=0 -DWITH_HARFBUZZ=0 -DWITH_CAIRO=0 -DWITH_FCGI=0
$ make
$ cp /osgeo/mapserver/mapserver-git-branch-7-0/build/mapserv /osgeo/mapserver/fgs/www/cgi-bin/mapserv70