You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2025-05-21-geospatial-techno.md
+29-22Lines changed: 29 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -18,27 +18,29 @@ categories:
18
18
----
19
19
20
20
### GeoServer Installation and Upgrade Guide
21
+
21
22
In this session, we will install GeoServer on Windows using the Web Archive installation method and upgrade to a new version, while retaining existing data.
22
23
23
24
If you want to access the complete tutorial, click on the [link](https://www.youtube.com/watch?v=SpTdPIRxjU0&list=PL_ITaxp1Ob4sjk24Stboa5XbO0LGdEKbL).
GeoServer is a versatile, Java-based application compatible with various operating systems, provided a suitable Java Virtual Machine (JVM) is available. The latest versions of GeoServer have been tested with both Oracle JRE and OpenJDK.
29
31
30
32
The GeoServer WAR file is a platform-independent web archive designed for deployment on application servers. Apache Tomcat is the recommended servlet container due to its robust integration capabilities and comprehensive documentation. This setup allows multiple web applications to run concurrently, enabling GeoServer to operate alongside other Java-based services, enhancing server versatility.
31
33
32
34
**Note.** This guide outlines the installation of GeoServer 2.25.x using Java 17 and Apache Tomcat 9, followed by upgrade instructions. To ensure you have the latest release, please visit this [link](https://geoserver.org/download/) and avoid using older versions of GeoServer.
33
35
34
-
## Preparing for Installation
36
+
###Preparing for Installation
35
37
Before proceeding, follow the steps below:
36
-
- Backup the existing GeoServer folder (if upgrading).
37
-
38
-
The folder ``webapps/geoserver/data`` is the data directory containing your configuration settings you wish to preserve.
38
+
- Backup the existing GeoServer folder (if upgrading).
39
+
40
+
The folder ``webapps/geoserver/data`` is the data directory containing your configuration settings you wish to preserve.
39
41
40
-
The folder ``webapps/geoserver/WEB-INF/lib`` contains the deployed GeoServer web application, along with an extensions you have manually installed.
41
-
42
+
The folder ``webapps/geoserver/WEB-INF/lib`` contains the deployed GeoServer web application, along with an extensions you have manually installed.
43
+
42
44
- Check the **Modules** tab under the **Server Status** page to see all installed extensions.
43
45
- Uninstall previous versions of Java and Apache Tomcat.
44
46
@@ -51,7 +53,7 @@ To download JDK 17, navigate to [adoptium.net](https://adoptium.net) and select:
51
53
52
54
Download the `.msi` file and run it as an administrator. During installation, accept default settings and complete the setup.
53
55
54
-
## Installing Apache Tomcat
56
+
###Installing Apache Tomcat
55
57
To download and install Apache Tomcat software, navigate to [tomcat.apache.org](https://tomcat.apache.org) and select **Tomcat 9** from the **Download** section.
56
58
57
59
Choose the **32-bit/64-bit Windows Service Installer** and run it as an administrator.
@@ -68,21 +70,21 @@ In the **Java** tab, the user sets:
68
70
-**Maximum Memory Pool:** 1024 MB
69
71
-**Java Options**: As required for [running on Java 17](https://docs.geoserver.org/latest/en/user/production/java.html#running-on-java-17).
Switch to the **General** tab, and set **Startup Type** to **Automatic**, and start the Tomcat service.
84
86
85
-
## Deploying GeoServer
87
+
### Deploying GeoServer
86
88
Download the latest **GeoServer WAR** file from [geoserver.org](https://geoserver.org).
87
89
88
90
Extract the `.war` file and copy it to `C:\Program Files\Apache Software Foundation\Tomcat 9.0\webapps`.
@@ -96,11 +98,16 @@ The user accesses GeoServer at `http://localhost:8080/geoserver` and logs in usi
96
98
- **Username:** admin
97
99
- **Password:** geoserver
98
100
99
-
## Upgrading GeoServer
101
+
### Upgrading GeoServer
100
102
Stop GeoServer via the **Tomcat Manager App**, then replace the existing `webapps/geoserver/data` directory with the one from your backup.
101
103
102
104
Reinstall any **compatible extensions** for the new version, and restart GeoServer and verifies functionality.
103
105
104
106
----
105
107
106
-
In this session, we took a brief journey to installation of GeoServer using the Web Archive method. If you want to access the complete tutorial, click on the [link](https://www.youtube.com/watch?v=SpTdPIRxjU0&list=PL_ITaxp1Ob4sjk24Stboa5XbO0LGdEKbL).
108
+
In this session, we took a brief journey to installation of GeoServer using the Web Archive method. If you want to access the complete tutorial, click on the [link](https://www.youtube.com/watch?v=SpTdPIRxjU0&list=PL_ITaxp1Ob4sjk24Stboa5XbO0LGdEKbL).
0 commit comments