Difference between revisions of "GeoServer"

From Amahi Wiki
Jump to: navigation, search
(Created page with "Rough notes for documenting my progress getting GeoServer mapping framework setup and running within Amahi. My hope is to create an easy-install Amahi package at some point. Fe...")
(No difference)

Revision as of 06:58, 25 February 2011

Rough notes for documenting my progress getting GeoServer mapping framework setup and running within Amahi. My hope is to create an easy-install Amahi package at some point. Feel free to help :)

Dependencies

  • Java. Fedora 14 seems to have come with a runtime version installed using OpenJava.
    • GeoServer docs say you need a JDK but elsewhere they've announced you no longer need to! yipee!
  • JAI add on.
    • yum install jai-imageio-core did the trick (so far anyway) <1MB download
  • Tomcat server is NOT required - they include a Jetty-based server instead, so should keep things simpler

Install

For now, create your "geoserver" alias first through the amahi. oh man - I have no "new app" option anymore in F14

wget http://cdnetworks-us-2.dl.sourceforge.net/project/geoserver/GeoServer/2.0.2/geoserver-2.0.2-bin.zip
unzip geoserver-2.0.2-bin.zip
mv geoserver-2.0.2 /var/hda/webapps/geoserver/html
export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/
export GEOSERVER_HOME=/var/hda/webapps/geoserver/html
cd /var/hda/webapps/geoserver/html/geoserver-2.0.2/bin
sh startup.sh

Test