How to install Geoserver

How to install and set up Geoserver on Windows.


Navigate to At the top of the page look for the Download link and follow it. Then click on the Stable version of GeoServer and then select Platform Independent Binary. Download the file and unzip it in your applications folder.

Setting the environment variables

First, make sure you have Java installed. GeoServer is written in Java and cannot run without a Java environment. If you don’t have Java installed already go to the Java download page and download it. I recommend downloading JDK, though if you don’t plan making Java applications JRE is fine too.

After you have Java installed, go to Control Panel > System and Security > System. In the sidebar click on Advanced system settings.  Click on the Advanced tab. Click on Environment Variables button at the bottom of the window.


Click on the New… button.


In the next dialog enter GEOSERVER_HOME as Variable name and you_path_to_place_where_you_extracted_geoserver as Variable value.


Do the same with JAVA_HOME and your_path_to_java_folder.

Starting GeoServer

Navigate to the place where you extracted GeoServer. Double click on the bin folder. Double click on startup.bat


A command prompt window will appear and the server will start in a few seconds/minutes… If all went good you should see the last line of this example window.

It says GeoServer started and it’s available at localhost on port 8080.


To test if GeoServer works open your browser and enter the following address: http://localhost:8080/geoserver


If you see the page above, congratulations. You’ve just set up GeoServer. To login, the default credentials are:

Username: admin
Password: geoserver

To stop GeoServer, double click on shutdown.bat inside of bin folder.

Next, find out how you can install PostgreSQL with PostGIS extension!