Skip to content

1. Requirements

Uros Preloznik edited this page Oct 29, 2015 · 31 revisions

1. Apache Web Server

Standard Apache configuration with mod rewrite enabled:

a2enmod rewrite

2. QGIS Server

Standard setup:

apt-get install qgis-server libapache2-mod-fcgid

Tutorial about installing QGIS Server.

TEST: localhost GetCapabilities request

Note: Recommended QGIS version is 2.8.x (Long Term Release).

3. PostgreSQL

Database for administration (not for storing your data!), with some modifications possible to use also SQLite, but this setup is for PostgreSQL. You will have to work directly with database. You can use pgAdmin3, or phpPgAdmin for that purpose, if either is not possible you will be stuck with SQL queries runnning from pgsql.

4. PHP >=5.5

Standard setup with PDO driver pdo_pgsql for PostgreSQL enabled. In your phpinfo output you should have something like this

If not, you can install it using

sudo apt-get install php5-pgsql

Clone this wiki locally