How to install Geoserver

How to install and set up Geoserver on Windows.

Downloading

Navigate to http://geoserver.org. 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.

5

Click on the New… button.

6

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

7

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

1

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.

2

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

3

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!

FacebookTwitterLinkedin