For installing on Linux with an existing application server such as Tomcat, please see the Web archive section.
The platform-independent binary is a GeoServer web application bundled inside Jetty, a lightweight and portable application server. It has the advantages of working very similarly across all operating systems and is very simple to set up.
Make sure you have a Java Runtime Environment (JRE) installed on your system. GeoServer requires a Java 11 or Java 17 environment, available from OpenJDK, Adoptium, or provided by your OS distribution.
For more information about Java and GeoServer compatibility, please see the section on Java Considerations.
Navigate to the GeoServer Download page.
Select the version of GeoServer that you wish to download. If you’re not sure, select Stable release.
These instructions are for GeoServer 2.24-SNAPSHOT which is provided as a Nightly release. Testing a Nightly release is a great way to try out new features, and test community modules. Nightly releases change on an ongoing basis and are not suitable for a production environment.
Select Platform Independent Binary on the download page: geoserver-2.24.x-latest-bin.zip
ziparchive and unpack to the directory where you would like the program to be located.
A suggested location would be
Add an environment variable to save the location of GeoServer by typing the following command:
echo "export GEOSERVER_HOME=/usr/share/geoserver" >> ~/.profile . ~/.profile
Make yourself the owner of the
geoserverfolder. Type the following command in the terminal window, replacing
USER_NAMEwith your own username :
sudo chown -R USER_NAME /usr/share/geoserver/
Start GeoServer by changing into the directory
geoserver/binand executing the
cd geoserver/bin sh startup.sh
In a web browser, navigate to
If you see the GeoServer Welcome page, then GeoServer is successfully installed.
To shut down GeoServer, either close the persistent command-line window, or run the
shutdown.shfile inside the
Stop GeoServer (if it is running).
Delete the directory where GeoServer is installed.