Skip to content

Commit eb210ec

Browse files
committed
Apply suggestions from code review
fix formatting and duplicate text
1 parent e29b166 commit eb210ec

File tree

1 file changed

+29
-22
lines changed

1 file changed

+29
-22
lines changed

_posts/2025-05-21-geospatial-techno.md

Lines changed: 29 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,29 @@ categories:
1818
----
1919

2020
### GeoServer Installation and Upgrade Guide
21+
2122
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.
2223

2324
If you want to access the complete tutorial, click on the [link](https://www.youtube.com/watch?v=SpTdPIRxjU0&list=PL_ITaxp1Ob4sjk24Stboa5XbO0LGdEKbL).
2425

2526
[![](https://img.youtube.com/vi/SpTdPIRxjU0/0.jpg)](https://www.youtube.com/watch?v=SpTdPIRxjU0&list=PL_ITaxp1Ob4sjk24Stboa5XbO0LGdEKbL)
2627

27-
## Introduction
28+
### Introduction
29+
2830
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.
2931

3032
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.
3133

3234
**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.
3335

34-
## Preparing for Installation
36+
### Preparing for Installation
3537
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.
3941

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+
4244
- Check the **Modules** tab under the **Server Status** page to see all installed extensions.
4345
- Uninstall previous versions of Java and Apache Tomcat.
4446

@@ -51,7 +53,7 @@ To download JDK 17, navigate to [adoptium.net](https://adoptium.net) and select:
5153

5254
Download the `.msi` file and run it as an administrator. During installation, accept default settings and complete the setup.
5355

54-
## Installing Apache Tomcat
56+
### Installing Apache Tomcat
5557
To download and install Apache Tomcat software, navigate to [tomcat.apache.org](https://tomcat.apache.org) and select **Tomcat 9** from the **Download** section.
5658

5759
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:
6870
- **Maximum Memory Pool:** 1024 MB
6971
- **Java Options**: As required for [running on Java 17](https://docs.geoserver.org/latest/en/user/production/java.html#running-on-java-17).
7072

71-
```
72-
--add-exports=java.desktop/sun.awt.image=ALL-UNNAMED
73-
--add-opens=java.base/java.lang=ALL-UNNAMED
74-
--add-opens=java.base/java.util=ALL-UNNAMED
75-
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
76-
--add-opens=java.base/java.text=ALL-UNNAMED
77-
--add-opens=java.desktop/java.awt.font=ALL-UNNAMED
78-
--add-opens=java.desktop/sun.awt.image=ALL-UNNAMED
79-
--add-opens=java.naming/com.sun.jndi.ldap=ALL-UNNAMED
80-
--add-opens=java.desktop/sun.java2d.pipe=ALL-UNNAMED
81-
```
73+
```
74+
--add-exports=java.desktop/sun.awt.image=ALL-UNNAMED
75+
--add-opens=java.base/java.lang=ALL-UNNAMED
76+
--add-opens=java.base/java.util=ALL-UNNAMED
77+
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
78+
--add-opens=java.base/java.text=ALL-UNNAMED
79+
--add-opens=java.desktop/java.awt.font=ALL-UNNAMED
80+
--add-opens=java.desktop/sun.awt.image=ALL-UNNAMED
81+
--add-opens=java.naming/com.sun.jndi.ldap=ALL-UNNAMED
82+
--add-opens=java.desktop/sun.java2d.pipe=ALL-UNNAMED
83+
```
8284
8385
Switch to the **General** tab, and set **Startup Type** to **Automatic**, and start the Tomcat service.
8486
85-
## Deploying GeoServer
87+
### Deploying GeoServer
8688
Download the latest **GeoServer WAR** file from [geoserver.org](https://geoserver.org).
8789
8890
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
9698
- **Username:** admin
9799
- **Password:** geoserver
98100
99-
## Upgrading GeoServer
101+
### Upgrading GeoServer
100102
Stop GeoServer via the **Tomcat Manager App**, then replace the existing `webapps/geoserver/data` directory with the one from your backup.
101103
102104
Reinstall any **compatible extensions** for the new version, and restart GeoServer and verifies functionality.
103105
104106
----
105107
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).
109+
110+
Reference:
111+
112+
* [Web archive](https://docs.geoserver.org/latest/en/user/installation/war.html) (User Manual)
113+
* [Java Considerations](https://docs.geoserver.org/latest/en/user/production/java.html) (User Manual)

0 commit comments

Comments
 (0)