< Upgrading Views Data

Apache & Mapserver Windows Manual Installation >

Appendix A. Mapserver Debian Installation

Some Debian packages are available for Php5 and Mapserver[2]

A.1. Setting Up Your Repository and Preferences File

Add the following to your /etc/apt/sources.list :

# cartoweb
deb http://dev.camptocamp.com/packages/debian/prod/ sarge main
deb-src http://dev.camptocamp.com/packages/debian/prod/ sarge main

You may want to pin c2c packages higher than 1000 to have them preferred over the upstream ones, even if downgrading. Add in /etc/apt/preferences:

Package: *
Pin: release o=c2c
Pin-Priority: 1100

A.2. Installing the packages

To install Mapscript and PHP 5, type the following:

apt-get update
apt-get install php5-mapscript 

If want to install PostGIS and PostgreSQL:

apt-get install libpostgis1-pg80

If want to install the pgdijkstra PostgreSQL extension:

apt-get install pgdijkstra


[2] Some of the packages were inspired from http://agrogeomatic.educagri.fr/.

valid xhtml 1.0 valid css