Skip to content

1. Requirements

Uros Preloznik edited this page Jul 3, 2016 · 31 revisions

Windows users read this post.

1. Apache Web Server (2.4)

Standard Apache configuration with following modules and configurations enabled:

a2enmod rewrite
a2enmod cgi
a2enmod fcgid
a2enonf serve-cgi-bin

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 >=9.3

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