GeoServer

From Amahi Wiki
Revision as of 14:16, 29 March 2015 by Bigfoot65 (talk | contribs)
Jump to: navigation, search
Warning.png WARNING
Fedora 14 is in maintenance mode.
Amahi 7 is the latest stable release.




Msgbox.update.png Update Needed
The contents of this page have become outdated or irrelevant. Please consider updating it.

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


Packaging

This is where I'm just saving my notes while learning to package this app. Logo

Screenshot