Geoserver and GDAL plugin for Windows system tutorial

  

GeoServer can support a small number of raster data sources, but you can add new raster data formats through the GDAL plugin. Next we will install the GeoServer and GDAL plugins.

Download the above mentioned software, if you download it from the official website, pay attention to the same version of gdal and geoserver.

Install jdk-8u77-windows-x64.exe installation process, you can directly modify any parameters, but you need to remember the installation directory, it is best to install jdk and Jre directly in the same parent directory Because you need to select the jre directory when installing the geoserver.


Install vcredist2010_x64.exe This step has no special attention, you can install it directly.

Installing geoserver-2.8.3.exe must be careful when installing geoserver, do not install geoserver to install system services. Select the JRE installation directory, this installation directory is set before we installed the JDK, if you use the default settings, then the directory should be the same as mys here.

When selecting the GeoServer data directory, use the default first.

Set the GeoServer administrator account and password, the default account is admin, the password is geoserver

Set the port number when the browser accesses, the default is 8080, you can modify it to Port 80, provided that port 80 is not occupied.

The key steps are coming. Since we installed the x64 version, we must choose Run manually, otherwise the gdal plugin will not be installed successfully. Because only the 32-bit version of the JRE can be used in the Install as a service mode.

The following is a summary of all the settings, just click Install to install.

Starting after the installation is completed by the start menu

The following interface is displayed after startup

Accessing http in the browser ://localhost:8080/geoserver
, the following instructions are displayed. The 8080 port number here should be the same as the one set previously.

Next install GDAL, first close the geoserver run box. Unzip geoserver-2.8.3-gdal-plugin.zip, select all the jar files inside, and press Ctrl+C to copy.

Open the geoserver installation directory and navigate to webapps\\geoserver\\WEB-INF\\lib. The default installation is: C:\\Program Files (x86)\\GeoServer 2.8.3\\webapps\\geoserver\\WEB-INF\\lib Select to overwrite all files when pasting

Unpacking gdal-1.9.2-MSVC2010 -x64.zip, set the extracted directory to the setting environment variable path. If it is Windows Server 2008 R2 and below, when setting the path, it is a string. Be sure to see if there is a semicolon at the end. If there is no semicolon. Enter the semicolon first, then paste the GDAL extension directory.


Start GeoServer again, then visit http://localhost:8080/geoserver in your browser and log in. Click on Stores on the left, then click Add new Store on the right.

In the New Page, if you see Raster Data Sources (Raster Data Sources) There are many categories below (there are only 5 categories before the GDAL plugin is installed), then congratulations, the GDAL plugin is installed successfully.

Notes

Under x64 system, the GeoServer installation system service must not be installed. Otherwise, the GDAL plug-in installation is unsuccessful, but the GeoServer can run successfully.

Copyright © Windows knowledge All Rights Reserved