I am trying to setup a web map server on a CentOS 6.2 virtual machine for development. I have never used Linux or web mapping frameworks, but I am trying to do this work as low cost as possible. So far, I am having some difficulty determining how to install and configure all the packages I need.

Here are the packages I want to install:

Apache Web Server Apache Tomcat? - is this necessary? Geoserver PostgreSQL/PostGIS GeoExt? Mapfish?

Has anyone had any experience with these packages in a Linux server? Could you provide any advice or links for setting this up?

2 Answers 2


the quickest way to run GeoServer is:

  • install java in your linux machine, using prepared RPM packages o "by hand" if you prefer. Use "java -version" to check you have the Oracle java version, not the opensource one.

  • from here http://geoserver.org/display/GEOS/Stable download the binary independent package

  • uncompress, move into geoserver folder and execute: "java -jar start.jar".

You also can use the geoserver/bin/startup.sh script.

I usually edit it and add this line: export GEOSERVER_HOME=/opt/software/geoserver-2.1.3/bin

to ensure the GEOSERVER_HOME environment variable is defined.

With this you will have a basic installation only fine for development (not production) environment. In addition you can install Postgres+PostGIS if you want to use a spatial DB to store features but it is not requried by geoserver.

  • 1
    Thanks @neil. This is a development machine, but my hope is that once I set it up and get my web map application running, I would like to copy the virtual machine to the production server. What would be difference about this installation for production?
    – Brian
    Feb 3, 2012 at 20:38
  • For production you can install too the JAI libraries for better raster performance and increase some Tomcat parameters (like memory).
    – acanimal
    Feb 3, 2012 at 21:37

If you want a painless installation, you might want to try the OpenGeo Suite. It comes with preconfigured and integrated GeoServer and PostGIS.

First, add the repos: For 32-bit systems:

 cd /etc/yum.repos.d
wget http://yum.opengeo.org/centos/5/i386/OpenGeo.repo

for 64 bit systems:

cd /etc/yum.repos.d
wget http://yum.opengeo.org/centos/5/x86_64/OpenGeo.repo

Update yum:

yum update

You can then install the OpenGeo Suite by typing:

yum install opengeo-suite

Once the installation has completed, you can go to the dashboard by navigating to:

  • Thanks @R.K. - is the OpenGeo Suite community edition licensed for commercial purposes?
    – Brian
    Feb 9, 2012 at 17:18
  • It is licensed under the GPL so you may use it however way you want as long as you comply with the GPL. softwarefreedom.org/resources/2008/compliance-guide.html
    – R.K.
    Feb 10, 2012 at 2:37
  • Downvoting as the repo has been shut down. You can download the OpenGeo suite at the Boundless site after registration. It's still free for unsupported use as far as I'm aware. boundlessgeo.com
    – minus34
    Dec 14, 2014 at 6:34
  • 1
    @minus34 It was an answer to a question from another time. Repos do get shut down. I do wish you gave me the chance to update it before downvoting the answer though.
    – R.K.
    Dec 14, 2014 at 11:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.