LAB 1: Open Source GIS Stack Installation

GeoServer Installation

The Windows installer provides an easy way to set up GeoServer on your system, as it requires no configuration files to be edited or command line settings.

  1. Install JAVA JRE 8 located on C:\Workshop\Lab1\
  2. Install GeoServer. The installation file is located on C:\Workshop\Lab1\
  3. Click Next

Welcome screen

  1. Read the License and click I Agree.

GeoServer license

  1. Select the directory of the installation, then click Next.

GeoServer install directory

  1. Select the Start Menu directory name and location, then click Next.

Start menu location

  1. Enter the path to a valid Java Runtime Environment (JRE). GeoServer requires a valid JRE in order to run, so this step is required. The installer will inspect your system and attempt to automatically populate this box with a JRE if it is found, but otherwise you will have to enter this path manually. When finished, click Next.

Note

A typical path on Windows would be C:\ProgramFiles\Java\jre8.

Note: Don’t include the \bin in the JRE path. So if java.exe is located at C:\ProgramFiles(x86)\Java\jre8\bin\java.exe, set the path to be C:\ProgramFiles(x86)\Java\jre8.

Selecting a valid JRE

  1. Enter the path to your GeoServer data directory or select the default. If this is your first time using GeoServer, select the Default data directory. When finished, click Next.

Setting a GeoServer data directory

  1. Keep the default username & password asadmin / geoserver.

Setting the username and password for GeoServer administration

  1. Keep the default port at8080 click Next.

Setting the GeoServer port

  1. Select Install as a service.

Installing GeoServer as a service

  1. Review your selections and click Install.

Verifying settings

  1. GeoServer will install on your system. When finished, click Finish to close the installer.
  2. Navigate to (or wherever you installed GeoServer) to access the GeoServerWeb administration interface.

If you see the GeoServer logo, then GeoServer is successfully installed.

GeoServer installed and running successfully

Installing PostgreSQL

  1. Navigate to C:\Workshop\Lab1 and locate the installation file.
  1. Run the installer.
  2. You can go with the default InstallationDirectory:
  1. Go with the default DataDirectory too:
  1. You can keep things simple on your development box; set postgres as your Password:
  1. Don't change the default listening port.
  1. Leave the Locale for DB to Default:
  1. Click on Next and wait until it completes.
  2. We have now completed PostgreSQL installation; leave the Stack Builder running option flagged and click on Finish. Stack Builder is a great option to customize your PostgreSQL installation. We will use it to add PostGIS

Installing PostGIS

:

  1. Select your local instance of PostgreSQL and click on Next:
  1. Select PostGIS2.0, or newer, from the available applications in the catalog tree:
  1. Stack Builder will now download the PostGIS installer and launch it.
  2. After you accept the license agreement, you will be prompted to select components to be installed. It is a good idea to have the installer create a spatial database for you:
  1. PostGIS installer will find your PostgreSQL location; as you have only one, there is no need to make any changes here.
  2. Insert the password for the postgres user you selected previously, and leave the default listening port:
  1. Leave the default name for the spatial database and click on Install:
  1. PostGIS is now installed. When prompted for GDAL_DATA settings you should answer Yes. PostGIS needs data contained in that folder to perform data reprojection (that is, transforming coordinates from a SRS to another).
  1. Click on Close to dismiss the PostGIS installer and then click on Finish to close Stack Builder.

Installing QGIS

  1. Navigate to C:\Workshop\Lab1 and locate the QGIS installation file.
  2. Double click the install file and click Next.
  1. Read the terms and click I agree.
  1. Accept the default path and click next.
  1. Click Install
  1. Click Finish. The installation and lab is finished.