May 11, 2021

How to Install the GeoServer

3 min read

In this step-by-step guide, we will be going through how you can easily install the GeoServer on your machines.

GeoServer is an open source server for sharing geospatial data in both vector and raster format. It is designed to host major data sources, which can easily render on maps.

Download stable version of GeoServer to Install:

Google out http://geoserver.org/ link.

Install Geoserver in windows

Hit the Download tab and install the stable version of geoserver. In this tutorial we have downloaded GeoServer 2.12.0. Before installation make sure that you already have JRE installed. If you have not installed that please visit

http://www.oracle.com/technetwork/java/javase/downloads/index.html

to download JRE (Java runtime environment) and install it.

Due to lack of funding, unfortunately for Windows users like myself, you will not have the GUI installer. Instead, lets compile the source code and get our installer.

  1. Download and install NSIS.
  2. Install the NSIS Access Control plugin. The simplest way to do this is to download the zip, extract the .DLL files (AccessControl.dll) and copy it to the NSIS plugins directory (usually C:\Program Files\NSIS\Plugins\x86-ansi).
  3. Download and unzip the binary GeoServer package:
    unzip geoserver-[VERSION]-bin.zip
    
  4. Download and unzip the source GeoServer package:
    unzip geoserver-[VERSION].zip
    
  5. Copy the files LICENSE.txtsrc/release/GPL.txt and the following files from src/release/installer/win from the Geoserver source GeoServer package to the root of the unpacked archive (the same directory level as the start.jar):
    GeoServerEXE.nsi
    gs.ico
    header.bmp
    side_left.bmp
    splash.bmp
    wrapper.conf
    wrapper.dll
    wrapper.exe
    wrapper.jar
    wrapper-server-license.txt
    
    _images/win-installer1.png
  6. Right-click on the installer script GeoServerEXE.nsi and select Compile Script.
    _images/win-installer2.png

After successfully compiling the script, an installer named geoserver-[VERSION].exe will be located in the root of the unpacked archive.

_images/win-installer3.png

To install GeoServer follow the steps given below,

STEP 1:

First of all download the GeoServer application file and keep in drive, where you want to install it.

STEP 2 TO INSTALL GEOSERVER:

Double click the application file and start installation.

Install Geoserver in windows

Click next button.

STEP 3:

Select I agree option and set the path to drive, where you want to install this application.

Install Geoserver in windows

Click I agree.

Install Geoserver in windows

Before choosing the install location check space available in drive. Then provide installation location and click next.

Install Geoserver in windows

Here click next button.

Install Geoserver in windows

Give the path where you have installed the JRE.

Install Geoserver in windows

Click next button.

STEP 4 TO INSTALL GEOSERVER:

You can change the Username and password.

Install Geoserver in windows

Set the Username and password and click next button.

Install Geoserver in windows

Click next button.

Install Geoserver in windows

Click next button.

Install Geoserver in windows

Check the details provided and click install button. After installation click finish button. You will find the GeoServer folder in the directory.

STEP 5 TO INSTALL GEOSERVER:

After installation search Start GeoServer application, it will run in command prompt then in web browser search localhost:8080/geoserver/web link.

error: Content is protected !!