Installing GeoServer¶
GeoServer is packaged as a standalone Java web application using servlet containers such as Apache Tomcat.
Download Tomcat from the link above.
Note
The following instructions are specific for Tomcat. It may not work with other container applications.
Installation on Tomcat (skip if you installed GeoServer from the training zip file)¶
Navigate to the GeoServer Download page. From “Archived”, choose the latest 2.26.x version of GeoServer to download.
Click on Web archive the Packages section.
The Download will start automatically. Copy the file
geoserver.war
to the directory that contains your container application’s webapps located in Tomcat folder.Your container application should unpack the web archive and automatically set up and run GeoServer.
Note
A restart of your container application may be necessary.
Running¶
Use your container application’s method of starting and stopping webapps to run GeoServer.
- Access Tomcat opening a browser and navigate to
http://host:{}/geoserver
(in brackets the port must be indicated). For example, with Tomcat running locally on port 8083 like in this WorkShop, the URL would be http://localhost:8083/geoserver.
Uninstalling¶
In case you need to remove GeoServer (but don’t do it now) you can use the following steps:
- Stop the container application.
- Remove the GeoServer webapp from the container application’s webapps directory.