-
Notifications
You must be signed in to change notification settings - Fork 31
1. Requirements
Apache install:
apt-get install apache2 libapache2-mod-fcgid
and following modules and configurations enabled:
a2enmod rewrite
a2enmod cgi
a2enmod fcgid
Standard setup:
apt-get install qgis-server
To install latest version go to QGIS Official download page and read about adding repositories
TEST: localhost GetCapabilities request
Note: Recommended QGIS version is 3.4.x.
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.
Minimum install:
apt-get install postgresql postgresql-distrib
Standard setup with PDO driver pdo_pgsql for PostgreSQL enabled and support for XML and ZIP.
apt-get install php libapache2-mod-php php-pgsql php-xml php-zip
ogr2ogr (part of GDAL) is required for using Layer->Export Layer to... option. You have this included if you install on server also QGIS Dektop.
apt-get install gdal-bin