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?
Best Answer
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.